Skip to content

[3.10] gh-143916: Reject control characters in wsgiref.headers.Headers (GH-143917) (GH-143973)#143976

Merged
sethmlarson merged 1 commit intopython:3.10from
gpshead:backport-22e4d55-3.10
Jan 20, 2026
Merged

[3.10] gh-143916: Reject control characters in wsgiref.headers.Headers (GH-143917) (GH-143973)#143976
sethmlarson merged 1 commit intopython:3.10from
gpshead:backport-22e4d55-3.10

Conversation

@gpshead
Copy link
Copy Markdown
Member

@gpshead gpshead commented Jan 17, 2026

gh-143916: Reject control characters in wsgiref.headers.Headers (GH-143917)

(cherry picked from commit f7fceed) (cherry picked from commit 22e4d55)

…Headers (pythonGH-143917) (pythonGH-143973)

pythongh-143916: Reject control characters in wsgiref.headers.Headers  (pythonGH-143917)

* Add 'test.support' fixture for C0 control characters
* pythongh-143916: Reject control characters in wsgiref.headers.Headers

(cherry picked from commit f7fceed)
(cherry picked from commit 22e4d55)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Co-authored-by: Seth Michael Larson <seth@python.org>
@sethmlarson sethmlarson merged commit 2f84024 into python:3.10 Jan 20, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants