The problem appears to be that ResourceUrlEncodingFilter is a OncePerRequestFilter. The response wrapper is applied for the initial dispatch of the request, but then isn't applied when the request is being dispatched to render the error page. The referenced Boot issue includes a sample application that will reproduce the problem.
Andy Wilkinson opened SPR-14891 and commented
The problem appears to be that
ResourceUrlEncodingFilter
is aOncePerRequestFilter
. The response wrapper is applied for the initial dispatch of the request, but then isn't applied when the request is being dispatched to render the error page. The referenced Boot issue includes a sample application that will reproduce the problem.Affects: 4.3.4
Reference URL: spring-projects/spring-boot#7348
The text was updated successfully, but these errors were encountered: