_SERVER array elements are all upper-case.
[core.git] / inc / classes / main / request / web / class_HttpRequest.php
index e00a8fe..8208105 100644 (file)
@@ -72,7 +72,7 @@ class HttpRequest extends BaseRequest implements Requestable {
                $headerValue = NULL;
 
                // Construct the name
                $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])) {
 
                // Does this header exist?
                if (isset($_SERVER[$name])) {