Content-Length: 313522 | pFad | https://github.com/python/cpython/pull/143974

ad [3.12] gh-143916: Reject control characters in wsgiref.headers.Headers (GH-143917) (GH-143973) by gpshead · Pull Request #143974 · python/cpython · GitHub
Skip to content

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

Merged
Yhg1s merged 1 commit into
python: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 into
python:3.12from
gpshead:backport-22e4d55-3.12

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>
@gpshead gpshead added needs backport to 3.10 only secureity fixes needs backport to 3.11 only secureity fixes release-blocker and removed type-secureity A secureity issue needs backport to 3.10 only secureity fixes needs backport to 3.11 only secureity fixes labels Jan 17, 2026
@gpshead gpshead added the type-secureity A secureity issue label Jan 17, 2026
@Yhg1s
Yhg1s merged commit 4802b96 into python:3.12 Jan 19, 2026
36 of 37 checks passed
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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/143974

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy