diff --git a/CHANGELOG.md b/CHANGELOG.md index 3117d8e4..13f45c16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog -## 3.1 (released 2013-12-05) +## 3.1.1 (released 2013-12-05) + +* Normalize headers when `getallheaders()` is available (Issues #108 and #114) + +## 3.1.0 (released 2013-12-05) * No longer necessary to inject the authorisation server into a grant, the server will inject itself * Added test for 1419ba8cdcf18dd034c8db9f7de86a2594b68605 @@ -9,7 +13,7 @@ * Forgot to tell TravisCI from testing PHP 5.3 -## 3.0 (released 2013-12-02) +## 3.0.0 (released 2013-12-02) * Fixed spelling of Implicit grant class (Issue #84) * Travis CI now tests for PHP 5.5 diff --git a/composer.json b/composer.json index 5bfaa6f5..ee81767a 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "league/oauth2-server", "description": "A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.", - "version": "3.1", + "version": "3.1.1", "homepage": "https://github.com/php-loep/oauth2-server", "license": "MIT", "require": { diff --git a/src/League/OAuth2/Server/Util/Request.php b/src/League/OAuth2/Server/Util/Request.php index 548bf252..b2f5752c 100644 --- a/src/League/OAuth2/Server/Util/Request.php +++ b/src/League/OAuth2/Server/Util/Request.php @@ -119,7 +119,7 @@ class Request implements RequestInterface { $normalized = array(); foreach ($headers as $key => $value) { - $normalized[$this->normalizeKey($key)] = $value; + $normalized[ucfirst($this->normalizeKey($key))] = $value; } return $normalized;