Browse Source

Merge pull request #693 from kbanman/request-fix

Fix capitalization regression in Request::server()
Taylor Otwell 12 years ago
parent
commit
c80a2e466a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/request.php

+ 1 - 1
laravel/request.php

@@ -81,7 +81,7 @@ class Request {
 	 */
 	public static function server($key = null, $default = null)
 	{
-		return array_get(static::foundation()->server->all(), $key, $default);
+		return array_get(static::foundation()->server->all(), strtoupper($key), $default);
 	}
 
 	/**