-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form+SecurityBundle] Trigger deprecation for csrf_provider+intention options #16704
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
Conversation
->children() | ||
->scalarNode('csrf_provider')->cannotBeEmpty()->end() | ||
->scalarNode('csrf_token_generator')->cannotBeEmpty()->end() | ||
->end() |
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.
intention
should be renamed to csrf_token_id
too
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.
I removed the beforeNormalizer for "intention": there is not "intention" in this configuration section
44e21fc
to
62eba7c
Compare
…r+intention options (nicolas-grekas) This PR was merged into the 2.8 branch. Discussion ---------- [Form+SecurityBundle] Trigger deprecation for csrf_provider+intention options | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - ping @stof Commits ------- 62eba7c [Form+SecurityBundle] Trigger deprecation for csrf_provider+intention options
@@ -74,8 +74,8 @@ public function testCsrfAliases() | |||
'firewalls' => array( | |||
'stub' => array( | |||
'logout' => array( | |||
'csrf_provider' => 'a_token_generator', |
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.
I think we should keep a configuration with csrf_provider
in a legacy test to ensure not to introduce BC breaks in 2.8
patch releases in the future.
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.
@xabbuh can you do it please?
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.
see #16718
…(xabbuh) This PR was merged into the 2.8 branch. Discussion ---------- [SecurityBundle] test legacy CSRF configuration options | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #16704 | License | MIT | Doc PR | Commits ------- 444b6ef test legacy CSRF configuration options
ping @stof