Changeset 8031

Show
Ignore:
Timestamp:
06/02/08 20:38:39 (6 months ago)
Author:
ryan
Message:

Use ORIG_PATH_INFO, if available. Props singpolyma. fixes #6995

Files:

Legend:

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

    r7991 r8031  
    173173        global $always_authenticate; 
    174174 
    175         $path = $_SERVER['PATH_INFO']; 
     175        if( !empty( $_SERVER['ORIG_PATH_INFO'] ) ) 
     176            $path = $_SERVER['ORIG_PATH_INFO']; 
     177        else 
     178            $path = $_SERVER['PATH_INFO'];  
     179 
    176180        $method = $_SERVER['REQUEST_METHOD']; 
    177181