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

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]