https://bz.apache.org/bugzilla/show_bug.cgi?id=69689

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
This is working as designed.

Please see section 3.2 of the Servlet 6.1 specification for details.

In summary, requesting a parameter triggers parsing of the request body because
of "For parts with form-data as the Content-Disposition, but without a
filename, the string value of the part will also be available through the
getParameter ..."

If Wicket wants to use HttpServletRequest.getInputStream() to process the
request body, then getInputStream() needs to be called before any of the
getParameter() methods.

Alternatively, Wicket could choose not to declare a multipart-config or the
equivalent annotation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to