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

git-svn-id: http://svn.automattic.com/wordpress/trunk@8031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-06-02 20:38:39 +00:00
parent f657d4cb64
commit 282cb020ea

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================");