Commit 527340d7 authored by Taylor Otwell's avatar Taylor Otwell

fix bug in request uri parsing.

parent 880fd106
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment