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

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -