Skip to content

Conversation

@davidism
Copy link
Member

#2694 removed max part limit from application/x-www-form-urlencoded parsing, previously added in #2620. However, it left the except ValueError: raise RequestEntityTooLarge. If body.decode() raised a UnicodeError, it resulted in a 413 error rather than being silently ignored. This restores that previous behavior.

fixes #2930

@davidism davidism added this to the 3.0.4 milestone Aug 20, 2024
@davidism davidism merged commit 3a52597 into 3.0.x Aug 20, 2024
@davidism davidism deleted the form-decode-error branch August 20, 2024 18:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 4, 2024
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 this pull request may close these issues.

2 participants