diff --git a/lib/Cake/Network/CakeRequest.php b/lib/Cake/Network/CakeRequest.php index cdaf68db3..e294d65e2 100644 --- a/lib/Cake/Network/CakeRequest.php +++ b/lib/Cake/Network/CakeRequest.php @@ -249,7 +249,7 @@ class CakeRequest implements ArrayAccess { if (strpos($uri, '?') !== false) { list($uri) = explode('?', $uri, 2); } - if (empty($uri) || $uri == '/' || $uri == '//') { + if (empty($uri) || $uri == '/' || $uri == '//' || $uri == '/index.php') { return '/'; } return $uri;