Multipart form-data larger than 16KiB is not available through Servlet getParameter API after JBoss EAP 7.4.12

Solution Verified - Updated -

Issue

  • The POST request data larger than 16KiB in multipart/form-data request becomes unavailable through Servlet getParameter API after JBoss EAP 7.4.12
  • When submitting field values via enctype multipart/form-data undertow makes up a submittedFilename for values larger than 16383 Bytes. This leads application to confuse the values with file uploads. Especially JSF wont invoke the bean setter for such values.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.4.12 and above
    • 8.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content