]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-146211: Reject CR/LF in HTTP tunnel request headers (GH-146212) (#148341)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 18 May 2026 17:44:56 +0000 (19:44 +0200)
committerGitHub <noreply@github.com>
Mon, 18 May 2026 17:44:56 +0000 (19:44 +0200)
commitc00c386faa579ad71196d33408644478488e43ec
treeae9784f454cd591c540169ed7e869454eead8316
parentd10950739a78f54d0718d88fb5a868374603c084
[3.12] gh-146211: Reject CR/LF in HTTP tunnel request headers (GH-146212) (#148341)

gh-146211: Reject CR/LF in HTTP tunnel request headers (GH-146212)
(cherry picked from commit 05ed7ce7ae9e17c23a04085b2539fe6d6d3cef69)

Co-authored-by: Seth Larson <seth@python.org>
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
Lib/http/client.py
Lib/test/test_httplib.py
Misc/NEWS.d/next/Security/2026-03-20-09-29-42.gh-issue-146211.PQVbs7.rst [new file with mode: 0644]