]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-143919: Reject control characters in http cookies (#144092)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 25 Jan 2026 17:10:18 +0000 (18:10 +0100)
committerGitHub <noreply@github.com>
Sun, 25 Jan 2026 17:10:18 +0000 (17:10 +0000)
commitb1869ff648bbee0717221d09e6deff46617f3e85
tree2001022adeee0bdf95545a9ebf28e92e6ecc7f4e
parent842ce19a0c0b58d61591e8f6a708c38db1fb94e4
[3.11] gh-143919: Reject control characters in http cookies (#144092)

gh-143919: Reject control characters in http cookies
(cherry picked from commit 95746b3a13a985787ef53b977129041971ed7f70)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
Doc/library/http.cookies.rst
Lib/http/cookies.py
Lib/test/test_http_cookies.py
Misc/NEWS.d/next/Security/2026-01-16-11-13-15.gh-issue-143919.kchwZV.rst [new file with mode: 0644]