Skip to content

Commit

Permalink
fix building url. merged #167 too fast
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Jan 21, 2016
1 parent 3eccda0 commit da333f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChainRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit da333f0

Please sign in to comment.