Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horizontal tab characters are legal in header values #3450

Open
dave-shawley opened this issue Dec 18, 2024 · 0 comments
Open

Horizontal tab characters are legal in header values #3450

dave-shawley opened this issue Dec 18, 2024 · 0 comments

Comments

@dave-shawley
Copy link

The web.RequestHandler._INVALID_HEADER_CHAR_RE is too restrictive. It should allow horizontal tab characters. It looks like this was noticed a few years ago (#2186 (comment)) as well. Would you accept a quick PR to change the regex? I ran into this in a production API server recently.

dave-shawley added a commit to dave-shawley/tornado that referenced this issue Dec 18, 2024
dave-shawley added a commit to dave-shawley/tornado that referenced this issue Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant