Ernesto Reinaldo Barreiro created WICKET-7154:
-------------------------------------------------
Summary: wicket multipart support is broken for tomaca 11.0.6
Key: WICKET-7154
URL: https://issues.apache.org/jira/browse/WICKET-7154
Project: Wicket
Issue Type: Improvement
Affects Versions: 10.4.0
Reporter: Ernesto Reinaldo Barreiro
Fix For: 11
It seems wicket file upload functionality that depends on *commons-fileupload2*
is broken for tomcat 11.x (I have tested with 11.0.5 and 11.0.6).
First I though this is because tomcat 10.x is using
commons-fileupload2-jakarta-servlet5 thus I upgraded to
commons-fileupload2-jakarta-servlet6 but the problem is the same.
It seems that tomcat 11.0.6 is already handling multipart and "consuming" the
request thus when we file-upload2 tries to parse the request the underlying
IdentityInputFilter
([https://github.com/apache/tomcat/blob/11.0.x/java/org/apache/coyote/http11/filters/IdentityInputFilter.java)|https://github.com/apache/tomcat/blob/11.0.x/java/org/apache/coyote/http11/filters/IdentityInputFilter.java_]
has already "consumed" the request. This also affects upload progress
functionality.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)