From fc170bc859252c5ed3ea92670e245078753a21af Mon Sep 17 00:00:00 2001 From: rboren Date: Wed, 8 Dec 2004 22:00:26 +0000 Subject: [PATCH] Do not process PATH_INFO if it containts the index. git-svn-id: http://svn.automattic.com/wordpress/trunk@1923 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-blog-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index ccb1992d82..79b1b28ff0 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -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.