Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1694a0f284 | ||
|
|
302b1cc8f6 |
@@ -89,6 +89,8 @@ class Cookie {
|
||||
list($hash, $value) = explode('|', $_COOKIE[$key], 2);
|
||||
|
||||
if (! $this->isSecure($hash, $value)) {
|
||||
$this->delete($key);
|
||||
|
||||
throw new Exception\CookieInvalidSecureHashException("Invalid cookie hash value given.");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user