[wp-cvs] wordpress wp-blog-header.php,1.98,1.99
Ryan Boren
rboren at users.sourceforge.net
Tue Nov 2 02:08:19 UTC 2004
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16834
Modified Files:
wp-blog-header.php
Log Message:
Do not process path info if it contains only "/".
Index: wp-blog-header.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-blog-header.php,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -d -r1.98 -r1.99
*** wp-blog-header.php 27 Oct 2004 23:58:39 -0000 1.98
--- wp-blog-header.php 2 Nov 2004 02:08:17 -0000 1.99
***************
*** 13,17 ****
// Process PATH_INFO and 404.
if ((isset($_GET['error']) && $_GET['error'] == '404') ||
! (! empty( $_SERVER['PATH_INFO']))) {
// If we match a rewrite rule, this will be cleared.
--- 13,17 ----
// Process PATH_INFO and 404.
if ((isset($_GET['error']) && $_GET['error'] == '404') ||
! (! empty( $_SERVER['PATH_INFO']) && '/' != $_SERVER['PATH_INFO'])) {
// If we match a rewrite rule, this will be cleared.
More information about the cvs
mailing list