Do not process PATH_INFO if it containts the index.
git-svn-id: https://develop.svn.wordpress.org/trunk@1923 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6a2e9a95c1
commit
22781af5ee
@ -14,7 +14,7 @@ $query_vars = array();
|
||||
if ((isset($_GET['error']) && $_GET['error'] == '404') ||
|
||||
((! empty($_SERVER['PATH_INFO'])) &&
|
||||
('/' != $_SERVER['PATH_INFO']) &&
|
||||
(false === strpos($_SERVER['PATH_INFO'], $_SERVER['PHP_SELF']))
|
||||
(false === strpos($_SERVER['PATH_INFO'], 'index.php'))
|
||||
)) {
|
||||
|
||||
// If we match a rewrite rule, this will be cleared.
|
||||
|
Loading…
Reference in New Issue
Block a user