Commit dae7912c authored by Taylor Otwell's avatar Taylor Otwell

fixed request uri determination bug.

parent 1c694915
......@@ -42,6 +42,11 @@ class Request {
{
throw new \Exception("Malformed request URI. Request terminated.");
}
if (strpos($uri, '/index.php') === 0)
{
$uri = str_replace('/index.php', '', $uri);
}
}
// -------------------------------------------------------
// Neither PATH_INFO or REQUEST_URI are available.
......
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