Replies: 1 comment
-
Fixed in #3471 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We were doing:
It worked a good portion of the time and then would just stop working even with the same requests.
See the issue is that Undertow will appear to randomly decide which fields become files. It does not appear to always be by request length but rather some other criteria that I'm unsure of.
So if you have a large plain text box form() may have the field in form().files() !
@jknack I am not sure if this is a bug (hence the discussion). It makes sense but I think Undertow thinks of multipart files as just bigger form fields whereas other frameworks do some content-disposition parsing for actual files.
Consequently a real toMultiMap would look like:
Beta Was this translation helpful? Give feedback.
All reactions