From 0bdfbb707f1b09062183f3977e8abf2197730527 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 23 Dec 2014 20:46:48 +0100 Subject: [PATCH] _SERVER array elements are all upper-case. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/request/web/class_HttpRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/classes/main/request/web/class_HttpRequest.php b/inc/classes/main/request/web/class_HttpRequest.php index e00a8fe2..8208105f 100644 --- a/inc/classes/main/request/web/class_HttpRequest.php +++ b/inc/classes/main/request/web/class_HttpRequest.php @@ -72,7 +72,7 @@ class HttpRequest extends BaseRequest implements Requestable { $headerValue = NULL; // Construct the name - $name = 'HTTP_' . strtolower($this->convertDashesToUnderscores($headerName)); + $name = 'HTTP_' . strtoupper($this->convertDashesToUnderscores($headerName)); // Does this header exist? if (isset($_SERVER[$name])) { -- 2.39.5