symfony - Symfony2 plugin for links CSRF protection -


is there plugin works way? i've found knpradbundle, got working project , adjusting new framework long , unnessesary. knows such plugin?

in knpradbundle it's function: https://github.com/knplabs/knpradbundle/wiki/csrf-protected-links

ps. i'm using symfony 2.2

i had exact same problem , found this pull request solves it.

using csrf_token('your_intention') function can generate csrf token in twig template. later can check token using form.csrf_provider service described in pull request.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -