title: Symfony2 basic URL routing issue
body: <p>I'm aware that my question is very...plain and simple, but I'll ask it anyway: hope that someone can give me a hint.</p>
  
  <p>I'm rewriting a PHP web-application using Symfony2. My need is to perform CRUD operations on database objects (which have a primary key and other two fields, called <code>field1</code> and <code>field2</code>)</p>
  
  <p>In my old web-app I used to recall this URL:</p>
  
  <pre><code>  http://myhost/updateProduct.php?id=foo&amp;field1=value1&amp;field2=value2
  </code></pre>
  
  <p>to invoke the <code>updateProduct.php</code> script to update the object having id=foo, setting value1 for field1 and value2 for field2. </p>
  
  <p>Now I'm willing to use a Symfony2 controller to do that job...I wonder which routing should I set up for that. My controller is <code>ProductController</code> and it embeds a <code>updateAction($id,$field1,$field2)</code> method.</p>
  
  <p>I tried with something like (yml syntax):</p>
  
  <pre><code>myBundle_update:
      pattern:  /product/update/{id}/field1={value1}&amp;field2={value2}
      defaults: { _controller: TestMyBundle:Product:update } 
  </code></pre>
  
  <p>but it's not working.</p>
  
  <p>So my question is: I'm mistaking the routing syntax (and if so, which is the correct one)? Or is there something I am missing about how to properly split request parameters to controllers?</p>
  
  <p>Thanks in advance</p>