Skip to content

Commit c80a2e4

Browse files
committed
Merge pull request laravel#693 from kbanman/request-fix
Fix capitalization regression in Request::server()
2 parents d29c5bf + e46d9c5 commit c80a2e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static function headers()
8181
*/
8282
public static function server($key = null, $default = null)
8383
{
84-
return array_get(static::foundation()->server->all(), $key, $default);
84+
return array_get(static::foundation()->server->all(), strtoupper($key), $default);
8585
}
8686

8787
/**

0 commit comments

Comments
 (0)