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
Changes in #31104 are causing failures in Spring Security. Resetting the entire response (headers and buffer) prevents filters from adding security headers to the response on the way in.
We should reconsider whether we should only reset the response body (resetBuffer()) or find other ways to support this case.
These tests began failing on snapshots after changes in
Spring Framework's `DispatcherServlet` to reset the response
on an error.
For now, we can have these tests operate with a 200 OK response.
An issue was opened in the spring-framework issuer tracker to
discuss this and address `CorsFilter` (and any other filter) that
writes headers that would be cleared on an error.
See spring-projects/spring-framework#31154
Changes in #31104 are causing failures in Spring Security. Resetting the entire response (headers and buffer) prevents filters from adding security headers to the response on the way in.
We should reconsider whether we should only reset the response body (
resetBuffer()
) or find other ways to support this case.Cc @sjohnr
The text was updated successfully, but these errors were encountered: