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

Pass the Request.decode errors argument down to transcode_query #438

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jeremylowery
Copy link

Currently, when calling Request.decode("encoding", "ignore"), webob still raises a decode error with invalid characters despite passing an "ignore" argument to errors. This fix uses the given argument.

…he form and query parsing call to control form decoding
Copy link
Member

@mmerickel mmerickel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to make sense. Would love to see a test that passes in the ignore value.

@digitalresistor digitalresistor self-requested a review November 24, 2022 06:56
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

Successfully merging this pull request may close these issues.

2 participants