-
Notifications
You must be signed in to change notification settings - Fork 6k
Duplicate cache headers #4199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The reason why this works with the embedded tomcat is that the filter chain is built differently. weblogic spring boot 1.5.1
embedded tomcat spring boot 1.5.1
weblogic spring boot 1.4.4
embedded tomcat spring boot 1.4.4
|
This issue was originally reported here spring-projects/spring-boot#8188
Updating the latest spring boot also updates the spring security from 4.1.x to 4.2.x
The previous version of spring security didn't write the cache control header if it was already set, now it always sets it, effectively ignoring the explicitly set settings.
Before, the writeHeader method used to write
Now, it's simply
This is the commit 57d7ad0
sample project here
https://github.com/apixandru/case-study/tree/master/spring-boot-duplicate-headers
it turns out that WebSecurityConfigurerAdapter enables the cache control headers that you were missing
happens with a weblogic deployment
The text was updated successfully, but these errors were encountered: