diff --git a/includes/unl_bootstrap.inc b/includes/unl_bootstrap.inc index ebd2bde6c46ec52026c4f7490c03b0929a8687e2..bdfe98f124dfed6706ab8ee5cd82b95609f2a08b 100644 --- a/includes/unl_bootstrap.inc +++ b/includes/unl_bootstrap.inc @@ -92,8 +92,8 @@ function unl_bootstrap_proxy_pass_support() { $GLOBALS['base_url'] = 'http://' . $_SERVER['HTTP_X_FORWARDED_HOST'] . $_SERVER['HTTP_X_FORWARDED_PATH']; $GLOBALS['cookie_domain'] = $_SERVER['HTTP_X_FORWARDED_HOST']; $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_FORWARDED_PATH'] . '/' . request_path(); - if (isset($_SERVER['REDIRECT_QUERY_STRING'])) { - $_SERVER['REQUEST_URI'] .= '?' . $_SERVER['REDIRECT_QUERY_STRING']; + if (isset($_SERVER['QUERY_STRING'])) { + $_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; } } }