fix bug in request uri parsing.

This commit is contained in:
Taylor Otwell
2011-11-01 23:41:02 -05:00
parent 880fd106c7
commit 527340d793

View File

@@ -36,7 +36,7 @@ class Request {
{
if ( ! is_null(static::$uri)) return static::$uri;
$uri = $_SERVER['REQUEST_URI'];
$uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
// Remove the root application URL from the request URI. If the application
// is nested within a sub-directory of the web document root, this will get