You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When HiddenHttpMethodFilter is involved in an error dispatch it may disturb error rendering if the error was caused by a failure when calling request.getParameter(String). In the case of the referenced Spring Boot issue, the failure is caused by a malformed multipart request.
The problem can be worked around by provided a custom filter that doesn't do anything when the javax.servlet.error.exception attribute is set:
Andy Wilkinson opened SPR-15179 and commented
When
HiddenHttpMethodFilter
is involved in an error dispatch it may disturb error rendering if the error was caused by a failure when callingrequest.getParameter(String)
. In the case of the referenced Spring Boot issue, the failure is caused by a malformed multipart request.The problem can be worked around by provided a custom filter that doesn't do anything when the
javax.servlet.error.exception
attribute is set:This may be a bit too extreme, but I think it would be helpful if the filter did something similar by default.
Affects: 4.3.5
Reference URL: spring-projects/spring-boot#7936
Issue Links:
The text was updated successfully, but these errors were encountered: