-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
It took a bit to debug and find this.
I pass False to url_for, and it give the proper result. Then in the method that gets called, I get str('False').
if 'False':
# this is too true for False
This doesn't need to convert fancy things, but simple int, bool, and maybe float would save a lot of annoying work sanitizing a parameter that could easily be checked for param.isnumeric()
or param.lower() == 'true'
.
Metadata
Metadata
Assignees
Labels
No labels