title: How to redirect without GET parameters using the routing?
body: <p>My routing is defined like this :</p>
  
  <pre><code># New URLs
  article_show:
      pattern:  /article/{id}
      defaults: { _controller: AcmeDemoBundle:Article:show }
  
  # Old URLs
  article_show_legacy:
      path:            /article-{id}-{param}.html
      requirements:
          param: foo|bar
      defaults:
          _controller: FrameworkBundle:Redirect:redirect
          route:       article_show
          permanent:   true
  </code></pre>
  
  <p>I'd like to know how I can redirect <code>article_show_legacy</code> to <code>article_show</code> without <code>param</code> parameter. At the moment whenever I access <code>/article-1-foo.html</code> (for example), I'm redirected to <code>/article/1?param=foo</code>. I would like to discard <code>?param=foo</code> so I'm redirected to <code>/article/1</code>.</p>
  
  <p>I know I can create one route for <code>foo</code> and one route for <code>bar</code> but in my case there's more cases.</p>
  
  <p>Do I have to write my own redirect controller ?</p>