From e46d9c5b6d8a56da40b9ce6d905dcd118c5a3ed8 Mon Sep 17 00:00:00 2001 From: Kelly Banman Date: Mon, 21 May 2012 23:56:48 -0700 Subject: [PATCH] Fix capitalization regression in Request::server() Signed-off-by: Kelly Banman --- laravel/request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/request.php b/laravel/request.php index 028670f1..510f64eb 100644 --- a/laravel/request.php +++ b/laravel/request.php @@ -81,7 +81,7 @@ public static function headers() */ 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); } /**