Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug parsing 0 epoch expiry times #2039

Merged
merged 1 commit into from Jun 20, 2018

Conversation

neerolyte
Copy link
Contributor

As per #1952 expiry times
specified as "Thu, 01 Jan 1970 00:00:00 GMT" should be treated as
expired, but they weren't because 0 was implicitly casting to a bool in
SetCookie::isExpired().

5.3 specific PR as per #1952 (comment)

As per guzzle#1952 expiry times
specified as "Thu, 01 Jan 1970 00:00:00 GMT" should be treated as
expired, but they weren't because 0 was implicitly casting to a bool in
SetCookie::isExpired().
@sagikazarmark
Copy link
Member

Cool, thanks

@sagikazarmark sagikazarmark merged commit af094f5 into guzzle:5.3 Jun 20, 2018
@sagikazarmark
Copy link
Member

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants