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

git-svn-id: https://develop.svn.wordpress.org/trunk@8031 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-06-02 20:38:39 +00:00
parent 4d7ef70c39
commit af7b5ce1f3

View File

@ -172,7 +172,11 @@ class AtomServer {
function handle_request() {
global $always_authenticate;
$path = $_SERVER['PATH_INFO'];
if( !empty( $_SERVER['ORIG_PATH_INFO'] ) )
$path = $_SERVER['ORIG_PATH_INFO'];
else
$path = $_SERVER['PATH_INFO'];
$method = $_SERVER['REQUEST_METHOD'];
log_app('REQUEST',"$method $path\n================");