-
Notifications
You must be signed in to change notification settings - Fork 78
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
Deprecate CSRF Token loading over render_esi as ESI not longer works to start a Session since Symfony 5.4, this was case in Varnish always #401
Conversation
…o start a Session since Symfony 5.4, this was case in Varnish always
Kind of a strange error happening:
@martinlagler didn't you stumble also over this one? Update: Sounds like an issue with symfony/doctrine-bridge 6.3.12. Tested |
@@ -32,10 +32,10 @@ | |||
"symfony/validator": "^4.4 || ^5.0 || ^6.0 || ^7.0", | |||
"symfony/security-csrf": "^4.4 || ^5.0 || ^6.0 || ^7.0", | |||
"symfony/translation": "^4.4 || ^5.0 || ^6.0 || ^7.0", | |||
"twig/twig": "^1.41 || ^2.0 || ^3.0" | |||
"twig/twig": "^1.41 || ^2.6 || ^3.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for deprecated twig tag
The CI error is unrelated and will be fixed as soon as Symfony tags 6.4.18 / 7.2.3: Test against |
@alexander-schranz Yes had the same error in this PR(https://github.com/sulu/SuluContentBundle/actions/runs/12989957644/job/36224057617?pr=255), good to know thx. |
What's in this PR?
Deprecate CSRF Token loading over render_esi
Why?
As ESI not longer works to start a Session since Symfony 5.4, this was case in Varnish always.
Example Usage
See https://github.com/sulu/SuluFormBundle/blob/2.5.5/Resources/doc/csrf.md