https://bz.apache.org/bugzilla/show_bug.cgi?id=67626
--- Comment #3 from Michael Osipov <micha...@apache.org> --- The bundled Commons Upload MUST NOT be used to parse anything but, as Mark said, form data as per Servlet spec. Use an external Commons FileUpload. TL;DR Let me share a few notes from a realworld project a contractor has written for us and shown very little understanding of Spring Boot and Servlet stuff. They observed the very same behavior and they tried to be smart just like Spring Boot, but both aren't. I don't know why this has been added to the framework, but Boot tries to pre-parse multipart requests w/o any consideration making you see the issues like these. You must disable this default non-sense behavior (IMHO) with spring.servlet.multipart.enabled set to false. See also this note: https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-servlet/multipart.html. Please retest, I am opting to close this as INVALID. -- 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