]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-143916: Reject control characters in wsgiref.headers.Headers (GH-143917)
authorSeth Michael Larson <seth@python.org>
Sat, 17 Jan 2026 17:46:21 +0000 (11:46 -0600)
committerGitHub <noreply@github.com>
Sat, 17 Jan 2026 17:46:21 +0000 (09:46 -0800)
commitf7fceed79ca1bceae8dbe5ba5bc8928564da7211
treeca411f253bcd3ce987e9b0a5233249f047d47bd9
parentb4b73245d88c61b4c97dff98f846897d869c42ac
 gh-143916: Reject control characters in wsgiref.headers.Headers  (GH-143917)

* Add 'test.support' fixture for C0 control characters
* gh-143916: Reject control characters in wsgiref.headers.Headers
Lib/test/support/__init__.py
Lib/test/test_wsgiref.py
Lib/wsgiref/headers.py
Misc/NEWS.d/next/Security/2026-01-16-11-07-36.gh-issue-143916.dpWeOD.rst [new file with mode: 0644]