title: How to handle a question mark in symfony 2 route
body: <p>I use jquery ui autocomplete with a dynamic source:</p>
  
  <pre><code> $( "#shop-id" ).autocomplete({
          source: function(request, response){
              $.ajax({
                  type: "GET",
                  url: "/app_dev.php/ticket/get_sids/",
                  data: {
                      term: request.term
                  },
                  success: function(data){
                      console.log(data);
                  }
              })
          }
      });
  </code></pre>
  
  <p>The produced url will look like this:</p>
  
  <pre><code>/app_dev.php/ticket/get_sids/?term=22
  </code></pre>
  
  <p>How do I handle that in symfony 2 routing? I tried several things but the question mark seems to be the bottle neck. </p>
  
  <p>Any ideas?</p>