Closed
Description
Gunnar Hillert opened SPR-15231 and commented
I have a simple example where I upload files using Jetty. If a user uploads a file larger than permitted, an @ExceptionHandler
(MultipartException.class) will perform a redirect to a page informing the user of the issue.
This works as expected using Jetty 9.2.11.v20150529 but fails with 9.4.1.v20170120.
In fact the ExceptionHandler is being triggered, but the redirect is ignored and the user gets a ERR_CONNECTION_RESET page (Chrome).
Not sure how far this is related to #19507
Affects: 4.3.5
Issue Links:
- DispatcherServet.checkMultipart() does not consider javax.servlet.error.exception that has a MultipartException cause [SPR-15178] #19744 DispatcherServet.checkMultipart() does not consider javax.servlet.error.exception that has a MultipartException cause