Skip to content

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

Merged
sethmlarson merged 1 commit into
python:3.11from
gpshead:backport-22e4d55-3.11
Jan 20, 2026
Merged

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

Conversation

@gpshead

@gpshead gpshead commented Jan 17, 2026

Copy link
Copy Markdown
Member

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 e4846a9 into python:3.11 Jan 20, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants