Fix #30702
If any other changes are needed, feel free to ask me. : )
Comment From: bclozel
Thanks for your contribution @aooohan !
Comment From: bclozel
After discussing this with @rstoyanchev , we agreed that dealing with this at the DispatcherServlet
level would be a better fit as it would cover all types of exception resolvers, at the Servlet level.
I've adressed that in 0d7c9b7c9.