Skip to content

[3.10] gh-144370: Disallow usage of control characters in status in wsgiref.handlers for security (#144371) - #145673

Merged
pablogsal merged 1 commit into
python:3.10from
vstinner:wsgiref310
May 17, 2026
Merged

pablogsal merged 1 commit into
python:3.10from
vstinner:wsgiref310

Conversation

@vstinner

@vstinner vstinner commented Mar 9, 2026 •

Copy link
Copy Markdown
Member

Disallow usage of control characters in status in wsgiref.handlers to prevent HTTP header injections.

(cherry picked from commit d931725)

…giref.handlers for security (python#144371)

Disallow usage of control characters in status in wsgiref.handlers
to prevent HTTP header injections.

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
(cherry picked from commit d931725)
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 17, 2026
@pablogsal
pablogsal merged commit 10cf7e2 into python:3.10 May 17, 2026
15 checks passed
@vstinner
vstinner deleted the wsgiref310 branch May 18, 2026 12:14
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
…s in wsgiref.handlers for security (python#144371) (python#145673)

(cherry picked from commit 10cf7e2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Stale PR or inactive for long period of time. type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants