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

parse_options_header rejects q values "0" and "1" #2751

Closed
ericbuehl opened this issue Jul 13, 2023 · 1 comment · Fixed by #2753
Closed

parse_options_header rejects q values "0" and "1" #2751

ericbuehl opened this issue Jul 13, 2023 · 1 comment · Fixed by #2753
Milestone

Comments

@ericbuehl
Copy link

provide an accept header such as en;q=0 or en;q=1 ->

q values 0 or 1 are dropped. The RFC 9110 indicates that the decimal is optional however we are rejecting q values that do not contain a decimal

Environment:

  • Python version: 3.11.4
  • Werkzeug version: 2.3.6
@davidism
Copy link
Member

Happy to review a PR.

@jcharlytown jcharlytown mentioned this issue Jul 20, 2023
6 tasks
@davidism davidism added this to the 2.3.7 milestone Aug 13, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants