]> git.mxchange.org Git - core.git/commitdiff
_SERVER array elements are all upper-case.
authorRoland Haeder <roland@mxchange.org>
Tue, 23 Dec 2014 19:46:48 +0000 (20:46 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 23 Dec 2014 19:46:48 +0000 (20:46 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/request/web/class_HttpRequest.php

index e00a8fe2522c63ba5f4960b448edb5e848353e93..8208105fb1323891ea7a40ac8a2d11b46728aeb1 100644 (file)
@@ -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])) {