-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[BrowserKit] Add ability to handle an empty cookie #7039
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
Comments
According to the RFC2109, |
@alexcartwright I checked the |
@jfsimon Thanks for picking this up. I am using |
The problem is that an empty @fabpot do you think it would be right to just ignore invalid cookies in the |
Let's just ignore the |
This PR was merged into the 2.1 branch. Commits ------- fc47589 [BrowserKit] added ability to ignored malformed set-cookie header Discussion ---------- [BrowserKit] adds ability to ignore malformed set-cookie header | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #7039
Currently throws InvalidArgumentException when server responds to a request with an empty set-cookie header (am using version 2.1.7).
Would it make sense to edit CookieJar::updateFromSetCookie to test for empty set-cookie headers and igrnore them? (am new to GitHub)
The text was updated successfully, but these errors were encountered: