diff --git a/ChainRouter.php b/ChainRouter.php index 5afbbb82..670ea780 100644 --- a/ChainRouter.php +++ b/ChainRouter.php @@ -280,7 +280,7 @@ private function rebuildRequest($pathinfo) if ('http' === $this->context->getScheme() && 80 !== $this->context->getHttpPort()) { $host .= ':'.$this->context->getHttpPort(); } - $uri = $this->context->getScheme().'://'.$host.$uri.$this->context->getQueryString(); + $uri = $this->context->getScheme().'://'.$host.$uri.'?'.$this->context->getQueryString(); return Request::create($uri, $this->context->getMethod(), $this->context->getParameters(), array(), array(), $server); }