From a0196f3957fd9c0f587eefb121fd540d0e41bd9b Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <ericrasmussen1@gmail.com>
Date: Mon, 18 Feb 2013 16:13:40 -0600
Subject: [PATCH] [gh-419] Just use $_SERVER['QUERY_STRING']

---
 includes/unl_bootstrap.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/includes/unl_bootstrap.inc b/includes/unl_bootstrap.inc
index ebd2bde6c..bdfe98f12 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'];
     }
   }
 }
-- 
GitLab