codeguy/Slim — pull request #570 by shello (2013-07-18 11:44:04+00:00)
Title: Fix issue #568: Parse string 'expires' before encoding secure cookie.

The `\Slim\Http\Util::encodeSecureCookie` function requires the
expires parameter to be an 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`.