Commit 39e014b
committed
minor #21638 [Form] Enhance CSRF documentation with OWASP best practices and guidelines (Spomky)
This PR was submitted for the 7.4 branch but it was merged into the 6.4 branch instead.
Discussion
----------
[Form] Enhance CSRF documentation with OWASP best practices and guidelines
ping `@javiereguiluz`
As you mentioned, Symfony Forms add CSRF tokens by default, including for forms using the GET method.
This change clarifies that this practice is not recommended and points users to the section explaining how to disable CSRF protection.
Commits
-------
ec7eb4f Enhance CSRF documentation with OWASP best practices and guidelines1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
8 | 19 | | |
9 | 20 | | |
10 | 21 | | |
| |||
255 | 266 | | |
256 | 267 | | |
257 | 268 | | |
| 269 | + | |
258 | 270 | | |
259 | 271 | | |
0 commit comments