Changeset 1842

Show
Ignore:
Timestamp:
11/02/04 02:08:17 (4 years ago)
Author:
rboren
Message:

Do not process path info if it contains only "/".

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-blog-header.php

    r1835 r1842  
    1313// Process PATH_INFO and 404. 
    1414if ((isset($_GET['error']) && $_GET['error'] == '404') || 
    15     (! empty( $_SERVER['PATH_INFO']))) { 
     15    (! empty( $_SERVER['PATH_INFO']) && '/' != $_SERVER['PATH_INFO'])) { 
    1616 
    1717    // If we match a rewrite rule, this will be cleared.