Merge branch 'release/3.1.1'

This commit is contained in:
Alex Bilbie 2013-12-05 21:09:43 +00:00
commit f59213499c
3 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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": {

View File

@ -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;