From da333f0cf45a8602b4aeb316cf7ce41e030ef92a Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Thu, 21 Jan 2016 11:11:44 +0100 Subject: [PATCH] fix building url. merged #167 too fast --- ChainRouter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }