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

_ is incorrectly permitted in Content-Length header values #738

Open
kenballus opened this issue Feb 3, 2025 · 0 comments
Open

_ is incorrectly permitted in Content-Length header values #738

kenballus opened this issue Feb 3, 2025 · 0 comments
Labels
bug Something is broken triage

Comments

@kenballus
Copy link

The Bug

Cheroot accepts Content-Length headers with digit-separating _ characters.

Suggested Fix

Respond 400 to any message with a Content-Length value that does not match the regex [0-9]+.

@kenballus kenballus added bug Something is broken triage labels Feb 3, 2025
@kenballus kenballus changed the title _ is incorrectly permitted in Content-Length headers _ is incorrectly permitted in Content-Length header values Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken triage
Projects
None yet
Development

No branches or pull requests

1 participant