Skip to content

[3.11] gh-160300: Reject cookies with a negative version in http.cookiejar (GH-160301) - #160649

Merged
pablogsal merged 1 commit into
python:3.11from
miss-islington:backport-d59d968-3.11
Oct 25, 2026
Merged

pablogsal merged 1 commit into
python:3.11from
miss-islington:backport-d59d968-3.11

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

DefaultCookiePolicy only applied its domain checks to cookies with
version 0 or a positive version.

ANT-2026-TA36I7V7
(cherry picked from commit d59d968)

Co-authored-by: Gregory P. Smith [email protected]

…ejar (pythonGH-160301)

DefaultCookiePolicy only applied its domain checks to cookies with
version 0 or a positive version.

ANT-2026-TA36I7V7
(cherry picked from commit d59d968)

Co-authored-by: Gregory P. Smith <[email protected]>
@pablogsal
pablogsal merged commit 6229895 into python:3.11 Oct 25, 2026
23 checks passed
@miss-islington
miss-islington deleted the backport-d59d968-3.11 branch October 25, 2026 19:35
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
…p.cookiejar (pythonGH-160301) (python#160649)

pythongh-160300: Reject cookies with a negative version in http.cookiejar (pythonGH-160301)

DefaultCookiePolicy only applied its domain checks to cookies with
version 0 or a positive version.

ANT-2026-TA36I7V7
(cherry picked from commit d59d968)

Co-authored-by: Gregory P. Smith <[email protected]>
(cherry picked from commit 6229895)
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
…p.cookiejar (pythonGH-160301) (python#160649)

pythongh-160300: Reject cookies with a negative version in http.cookiejar (pythonGH-160301)

DefaultCookiePolicy only applied its domain checks to cookies with
version 0 or a positive version.

ANT-2026-TA36I7V7
(cherry picked from commit d59d968)

Co-authored-by: Gregory P. Smith <[email protected]>
(cherry picked from commit 6229895)
(cherry picked from commit cd2a617)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants