From 282cb020ea8a5e0df03c548592e08ab68524aba7 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 2 Jun 2008 20:38:39 +0000 Subject: [PATCH] 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 --- wp-app.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-app.php b/wp-app.php index 03f5d6b8c..b8559a79a 100644 --- a/wp-app.php +++ b/wp-app.php @@ -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================");