Skip to content

gh-145599: Reject control characters in http.cookies.Morsel.update() and http.cookies.BaseCookie.js_output#145600

Open
StanFromIreland wants to merge 5 commits intopython:mainfrom
StanFromIreland:cookies
Open

gh-145599: Reject control characters in http.cookies.Morsel.update() and http.cookies.BaseCookie.js_output#145600
StanFromIreland wants to merge 5 commits intopython:mainfrom
StanFromIreland:cookies

Conversation

@StanFromIreland
Copy link
Member

@StanFromIreland StanFromIreland commented Mar 6, 2026

Copy link
Contributor

@sethmlarson sethmlarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small comment, otherwise LGTM. Thank you!

@StanFromIreland StanFromIreland changed the title gh-145599: Reject control characters in more places in http.cookies.Morsel gh-145599: Reject control characters in http.cookies.Morsel.update() and http.cookies.BaseCookie.js_output Mar 6, 2026
@StanFromIreland StanFromIreland requested a review from gpshead March 6, 2026 18:08
@vstinner vstinner added the type-security A security issue label Mar 13, 2026
Co-authored-by: Victor Stinner <vstinner@python.org>
@StanFromIreland StanFromIreland added needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants