Skip to content
New issue

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

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

Already on GitHub? # to your account

Handle decoding errors like json decode errors #428

Merged
merged 3 commits into from
Oct 6, 2019

Conversation

lindycoder
Copy link
Contributor

When receiving a post containing non utf8 data with a Application/Json
content-type, the decoding fails. This should be treated as an
incorrect JSON payload and return a 400.

fixes #427

lindycoder and others added 3 commits September 23, 2019 10:15
When receiving a post containing non utf8 data with a Application/Json
content-type, the decoding fails.  This should be treated as an
incorrect JSON payload and return a 400.

fixes marshmallow-code#427
@sloria sloria merged commit 6347b4b into marshmallow-code:dev Oct 6, 2019
@sloria
Copy link
Member

sloria commented Oct 6, 2019

Thanks! This is released in 5.5.2.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non UTF-8 json payload produce a 500 and a stack trace
2 participants