4cec9a9e86
* 2.5: Updated generateSql tool Fix the implementation of deprecated Locale classes Fix phpdoc and coding standards Replace usages of the deprecated TypeTestCase by the new one Remove usages of deprecated constants Update functional tests to use the PSR NullLogger fix regression in form tests after pr #13027 | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Make fabbot happy Clean up testing No global state for isolated tests and other fixes No global state for isolated tests and other fixes fix #10054 - form data collector with dynamic fields [TwigBundle] Moved the setting of the default escaping strategy from the Twig engine to the Twig environment [Debug] fix checkip6 [HttpFoundation] fixed error when an IP in the X-Forwarded-For HTTP header contains a port Update the note about origins of the CssSelector component. Use the correct cssselect library name in docblocks. [DomCrawler] fixed bug #12143 Conflicts: src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php src/Symfony/Component/Serializer/Normalizer/DenormalizableInterface.php |
||
---|---|---|
.. | ||
Exception | ||
Tests | ||
TokenGenerator | ||
TokenStorage | ||
.gitignore | ||
composer.json | ||
CsrfToken.php | ||
CsrfTokenManager.php | ||
CsrfTokenManagerInterface.php | ||
LICENSE | ||
phpunit.xml.dist | ||
README.md |
Security Component - CSRF
The Security CSRF (cross-site request forgery) component provides a class
CsrfTokenManager
for generating and validating CSRF tokens.
Resources
Documentation:
http://symfony.com/doc/2.6/book/security.html
Tests
You can run the unit tests with the following command:
$ cd path/to/Symfony/Component/Security/Csrf/
$ composer.phar install --dev
$ phpunit