From 7431bdd75a46e81d0da27f445b36f5878b6bb806 Mon Sep 17 00:00:00 2001 From: rboren Date: Fri, 18 Feb 2005 01:43:48 +0000 Subject: [PATCH] Don't try to process path info when directly loading the feed files. Props to Toby Simmons. http://mosquito.wordpress.org/view.php?id=903 git-svn-id: http://svn.automattic.com/wordpress/trunk@2363 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 ec5b002a20..d3e0295324 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -17,7 +17,7 @@ $query_vars = array(); if ((isset($_GET['error']) && $_GET['error'] == '404') || ((! empty($_SERVER['PATH_INFO'])) && ('/' != $_SERVER['PATH_INFO']) && - (false === strpos($_SERVER['PATH_INFO'], 'index.php')) + (false === strpos($_SERVER['PATH_INFO'], '.php')) )) { // If we match a rewrite rule, this will be cleared.