title: How to pass normal parameters in URL in Symfony?
body: <p>I'm trying to pass parameters via a normal querystring, as such:</p>
  
  <pre><code>/user/login?foo=bar&amp;abc=123
  </code></pre>
  
  <p>Unfortunately, nowhere does any data in an instance of <code>sfRoute</code> seem to contain data for params <code>foo</code> or <code>abc</code>.  How do I fix this?</p>
  
  <p><strong>Edit:</strong> Here is the code I'm using as per Tom's request:</p>
  
  <p>/apps/api/config/routing.yml:</p>
  
  <pre><code>login:
    url:   /user/login
    param: { module: user, action: login }
  </code></pre>
  
  <p>/apps/api/modules/user/actions/actions.class.php:</p>
  
  <pre><code>class userActions extends sfActions {
      public function executeLogin(sfWebRequest $request) {
          echo '&lt;pre&gt;'.print_r($this-&gt;getRoute(), true).'&lt;/pre&gt;';
      }
  }
  </code></pre>
  
  <p>That's it.  The output shows that <code>$this-&gt;getRoute()</code> contains no info about <code>foo</code> or <code>abc</code> when I pass them in my query string with the URL "/user/login?foo=bar&amp;abc=123".</p>