You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user agent receives a new cookie with the same cookie-name, domain-value, and path-value as a cookie that it has already stored, the existing cookie is evicted and replaced with the new cookie. Notice that servers can delete cookies by sending the user agent a new cookie with an Expires attribute with a value in the past.
The text was updated successfully, but these errors were encountered:
pankgeorg
changed the title
Following 3XX redirects with multiple Set-Cookie breaks cookiejar
Request goes out with multiple cookies when cookies=true, redirect=true and the 3XX responses include Set-CookieJun 7, 2022
pankgeorg
changed the title
Request goes out with multiple cookies when cookies=true, redirect=true and the 3XX responses include Set-Cookie
Cookie not evicted when following redirects
Jun 7, 2022
This should be fixed on master; sorry about the slow release, but there have been a few breaking changes merged and we're getting close to a 1.0 release. If you're able to test it out on the master branch, that'd be great to ensure it is indeed fixed (you can checkout the branch by doing ] add HTTP#master).
This should be fixed on master; sorry about the slow release, but there have been a few breaking changes merged and we're getting close to a 1.0 release. If you're able to test it out on the master branch, that'd be great to ensure it is indeed fixed (you can checkout the branch by doing ] add HTTP#master).
No worries. Indeed it looks fixed on master, thanks!
https://httpwg.org/specs/rfc6265.html#sane-set-cookie-semantics
Assume a cookie is set in a cookie jar with
If a request is done as follows:
HTTP.request(; redirect=true, cookiejar=cookiejar)
and the first response is a 302 with aSet-Cookie
like thisThen the second request will be sent with a cookie that includes both cookies, without evicting the first one.
The text was updated successfully, but these errors were encountered: