Skip to content

Commit

Permalink
Merge branch 'release/3.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbilbie committed Dec 5, 2013
2 parents 9099173 + d9917a5 commit f592134
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/League/OAuth2/Server/Util/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected function normalizeHeaders(array $headers)
{
$normalized = array();
foreach ($headers as $key => $value) {
$normalized[$this->normalizeKey($key)] = $value;
$normalized[ucfirst($this->normalizeKey($key))] = $value;
}

return $normalized;
Expand Down

0 comments on commit f592134

Please sign in to comment.