Skip to content

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

Merged
vstinner merged 1 commit intopython:3.13from
miss-islington:backport-d931725-3.13
Mar 6, 2026
Merged

[3.13] gh-144370: Disallow usage of control characters in status in wsgiref.handlers for security (GH-144371)#145585
vstinner merged 1 commit intopython:3.13from
miss-islington:backport-d931725-3.13

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 6, 2026

Disallow usage of control characters in status in wsgiref.handlers
to prevent HTTP header injections.
(cherry picked from commit d931725)

Co-authored-by: Benedikt Johannes benedikt.johannes.hofer@gmail.com
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner vstinner@python.org

…giref.handlers for security (pythonGH-144371)

Disallow usage of control characters in status in wsgiref.handlers
to prevent HTTP header injections.
(cherry picked from commit d931725)

Co-authored-by: Benedikt Johannes <benedikt.johannes.hofer@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner vstinner enabled auto-merge (squash) March 6, 2026 12:23
@vstinner vstinner merged commit 5db0177 into python:3.13 Mar 6, 2026
43 checks passed
@miss-islington miss-islington deleted the backport-d931725-3.13 branch March 6, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants