If I remember correctly, $request->getQueryString() normalizes the
querystring parameters which could break things like HMAC-secured API
calls, etc.

On Tue, Mar 19, 2013 at 6:36 PM, Christophe Coevoet <
notifications@github.com> wrote:

> In src/Symfony/Component/Routing/RequestContext.php:
>
> > @@ -68,6 +71,7 @@ public function fromRequest(Request $request)
> >          $this->setScheme($request->getScheme());
> >          $this->setHttpPort($request->isSecure() ? $this->httpPort : $request->getPort());
> >          $this->setHttpsPort($request->isSecure() ? $request->getPort() : $this->httpsPort);
> > +        $this->setQueryString($request->server->get('QUERY_STRING'));
>
> Why not using $request->getQueryString() ?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/symfony/symfony/pull/7028/files#r3444338>
> .
>