Skip to content

Commit

Permalink
Added changelog for 1.0.1 (#395)
Browse files Browse the repository at this point in the history
* Added changelog for 1.0.1

* Use constants and drop "http"
  • Loading branch information
Nyholm authored Apr 17, 2019
1 parent 8f289cd commit 3d43643
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

The change log shows what have been Added, Changed, Deprecated and Removed between versions.

## 1.0.1

### Fixed

- Fixed issue with multiple cookies.
- Fixed `ContentTypeMiddleware` missing return.

## 1.0.0

### Changed
Expand Down
7 changes: 3 additions & 4 deletions lib/Middleware/Cookie/CookieJar.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,10 @@ public function clearExpiredCookies(): void
private function getHash(Cookie $cookie): string
{
return sha1(sprintf(
'%s|%s|%s|%s',
'%s|%s|%s',
$cookie->getName(),
$cookie->getAttribute('domain'),
$cookie->getAttribute('path'),
$cookie->getAttribute('http')
$cookie->getAttribute(Cookie::ATTR_DOMAIN),
$cookie->getAttribute(Cookie::ATTR_PATH)
));
}
}

0 comments on commit 3d43643

Please sign in to comment.