-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
MultiDict does not handle None values #2842
Comments
Handling |
Sympatron
added a commit
to Sympatron/werkzeug
that referenced
this issue
Jan 25, 2024
6 tasks
pgjones
pushed a commit
to Sympatron/werkzeug
that referenced
this issue
Mar 3, 2024
TypeErrors are now handled in the same manner as ValueErrors. fixes pallets#2842
pgjones
pushed a commit
that referenced
this issue
Mar 3, 2024
TypeErrors are now handled in the same manner as ValueErrors. fixes #2842
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following code will result in a
TypeError
:I think the expected behavior would be to return
None
as all other error cases do.This happens because the following code only checks for
ValueError
and not other errors likeTypeError
:werkzeug/src/werkzeug/datastructures/structures.py
Lines 81 to 84 in d3dd65a
The text was updated successfully, but these errors were encountered: