From 22781af5ee243ae694d69fb3ff0c70f6367b0c2c Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 8 Dec 2004 22:00:26 +0000 Subject: [PATCH] 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 --- 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.