X Tutup
Skip to content

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

Open
miss-islington wants to merge 1 commit intopython:3.12from
miss-islington:backport-d931725-3.12
Open

[3.12] gh-144370: Disallow usage of control characters in status in wsgiref.handlers for security (GH-144371)#145671
miss-islington wants to merge 1 commit intopython:3.12from
miss-islington:backport-d931725-3.12

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 9, 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>
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup