Skip to content

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

Merged
Yhg1s merged 1 commit intopython:3.12from
gpshead:backport-22e4d55-3.12
Jan 19, 2026
Merged

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

Conversation

@gpshead
Copy link
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

2 participants