title: backbone.js routing when query passed to route contains /
body: <p>My app basically takes some form input and returns a set of results. I have two routes</p>
  
  <pre><code>routes: {
          '': 'search',
          'search': 'search',
          'results/:query': 'results'
      },
      results: function(query) {
          var search = new ResultsSearchView();
          var grid = new GridView({ query: query });
      }
  </code></pre>
  
  <p>If the query contains any characters / specifically (can totally happen in this case), they are added to the URL and my route breaks.</p>
  
  <p>I have tried using <code>encodeURI()</code> and <code>encodeURIComponent()</code> bit I'm not having any luck. How are you folks handling such things?</p>