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:
parent
f657d4cb64
commit
282cb020ea
|
@ -172,7 +172,11 @@ class AtomServer {
|
||||||
function handle_request() {
|
function handle_request() {
|
||||||
global $always_authenticate;
|
global $always_authenticate;
|
||||||
|
|
||||||
|
if( !empty( $_SERVER['ORIG_PATH_INFO'] ) )
|
||||||
|
$path = $_SERVER['ORIG_PATH_INFO'];
|
||||||
|
else
|
||||||
$path = $_SERVER['PATH_INFO'];
|
$path = $_SERVER['PATH_INFO'];
|
||||||
|
|
||||||
$method = $_SERVER['REQUEST_METHOD'];
|
$method = $_SERVER['REQUEST_METHOD'];
|
||||||
|
|
||||||
log_app('REQUEST',"$method $path\n================");
|
log_app('REQUEST',"$method $path\n================");
|
||||||
|
|
Loading…
Reference in New Issue