Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] Enabled csrf_protection by default if form.csrf_protection is enabled #9662

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
wants to merge 1 commit into from

Conversation

webmozart
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #9429
License MIT
Doc PR -

This PR enables the CSRF protection services automatically if CSRF protection for forms is enabled. In this case, the CSRF protection services cannot be disabled anymore manually (the same as with the validation services).

@Tobion
Copy link
Contributor

Tobion commented Nov 30, 2013

Seems ok since validation is also implicitly enabled.

fabpot added a commit that referenced this pull request Nov 30, 2013
…m.csrf_protection is enabled (bschussek)

This PR was submitted for the master branch but it was merged into the 2.4 branch instead (closes #9662).

Discussion
----------

[FrameworkBundle] Enabled csrf_protection by default if form.csrf_protection is enabled

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9429
| License       | MIT
| Doc PR        | -

This PR enables the CSRF protection services automatically if CSRF protection for forms is enabled. In this case, the CSRF protection services cannot be disabled anymore manually (the same as with the validation services).

Commits
-------

b5e5c71 [FrameworkBundle] Enabled csrf_protection by default if form.csrf_protection is enabled
@fabpot fabpot closed this Nov 30, 2013
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.

3 participants