Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upIncorrect handling of negative MaxAge cookie attribute #55
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
milesich commentedApr 15, 2016
Currently cookies with negative Max-Age attribute will throw en exception. But according to RFC6265:
I found this problem when I was trying to import a feed using
Zend\Feed\Reader\Reader::import
and in the feed headers was this cookie:Set-Cookie: wpSGCacheBypass=0; expires=Fri, 15-Apr-2016 07:10:31 GMT; Max-Age=-3600; path=/