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
(Pdb) flask.request.form # OK
ImmutableMultiDict([('username', u'my name')])
Case 2 - fireside generated war executed by jetty-runner:
(Pdb) print flask.request.form # Not the expected result
{'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00': [u'']}
There are two problems, it's a dictionary instead of ImmutableMultiDict and the value is a sequence of \x00. The code is the same in both case 1 and 2. Do you have any clue what's causing this?
The text was updated successfully, but these errors were encountered:
I have a problem with values submitted via POST form. This app skeleton can be used to see what's happening.
Suppose the submitted value is "my name".
Case 1 - flask dev server:
Case 2 - fireside generated war executed by jetty-runner:
There are two problems, it's a dictionary instead of ImmutableMultiDict and the value is a sequence of \x00. The code is the same in both case 1 and 2. Do you have any clue what's causing this?
The text was updated successfully, but these errors were encountered: