Skip to content

Conversation

@sethmlarson
Copy link
Contributor

@sethmlarson sethmlarson commented Jan 21, 2026

In #143917 we were overzealous, HTAB (0x09) is allowed in header values but not header names.

@vstinner
Copy link
Member

vstinner commented Feb 3, 2026

See also PR gh-144371 which rejects control characters in Lib/wsgiref/handlers.py.

sethmlarson and others added 2 commits February 4, 2026 18:57
Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants