You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a schema has a scalar field (such as text or email) and multiple items are submitted, Formencode will raise a Python exception instead of catching the python exception and making the field invalid.
for example, if formencode is leveraged in a website and multiple values are submitted as GET query arguments such as http://example.com?foo=bar&foo=biz, formencode will raise AttributeError: 'list' object has no attribute 'strip'.
I suggest formencode catch these exceptions and mark the field as invalid.
The text was updated successfully, but these errors were encountered:
If a schema has a scalar field (such as text or email) and multiple items are submitted, Formencode will raise a Python exception instead of catching the python exception and making the field invalid.
for example, if formencode is leveraged in a website and multiple values are submitted as GET query arguments such as
http://example.com?foo=bar&foo=biz
, formencode will raiseAttributeError: 'list' object has no attribute 'strip'
.I suggest formencode catch these exceptions and mark the field as invalid.
The text was updated successfully, but these errors were encountered: