Skip to content

Reset Pragma header in WebContentGenerator when caching resources [SPR-13252] #17843

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

Closed
spring-projects-issues opened this issue Jul 20, 2015 · 0 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 20, 2015

Brian Clozel opened SPR-13252 and commented

When using Spring Security or any other servlet filter setting the pragma HTTP header, applications may write inconsistent responses with caching Cache-Control headers and "no-cache" Pragma headers.

The resource handling code path should make sure that this header is not set.


Affects: 4.2 RC3

Reference URL: #840

Issue Links:

Referenced from: commits 15fe827, 09e3fc4, ed34ea4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants