Skip to content
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

Fix caching for forms #277

Merged
merged 1 commit into from
Feb 23, 2021
Merged

Conversation

Prokyonn
Copy link
Member

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT

What's in this PR?

Disables the symfony CsrfManager for forms from the form-bundle.

Why?

Webpages with forms from the form-bundle could not be cached, because Symfony overid the public cache-control header.

@Prokyonn Prokyonn changed the title Add disabledCsrf manager Fix caching for forms Jan 21, 2021
@alexander-schranz alexander-schranz merged commit 4c0c30e into sulu:2.x Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants