Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue slimphp#568: Parse string 'expires' before encoding secure …
…cookie. The `\Slim\Http\Util::encodeSecureCookie` function requires the expires parameter to be a int. A string typed 'expires' or 'cookie.lifetime' would pass a string in this case, which causes the response cookie to be broken when parsed by `decodeSecureCookie`.
- Loading branch information