mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-31 04:31:35 +01:00
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() {
|
||||
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================");
|
||||
|
Loading…
Reference in New Issue
Block a user