]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-146211: Reject CR/LF in HTTP tunnel request headers (GH-146… (#148351)
authorSeth Larson <seth@python.org>
Sat, 27 Jun 2026 17:59:10 +0000 (12:59 -0500)
committerGitHub <noreply@github.com>
Sat, 27 Jun 2026 17:59:10 +0000 (19:59 +0200)
commit56b7100b04e44ea27989242b176beb8f016b2c53
treebbf22e19e8e7f9a20680ee7c8258d2f676612445
parentef12d0dc824baccf737bba1458e5eed3d1e0fceb
[3.11] gh-146211: Reject CR/LF in HTTP tunnel request headers (GH-146… (#148351)

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

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]