eZ Community » Forums » eZ Publish 5 Platform » CSRF issue while using Symfony forms
expandshrink

CSRF issue while using Symfony forms

CSRF issue while using Symfony forms

Thursday 25 April 2013 11:51:54 am - 1 reply

Hello,

In one of my bundle, I use a symfony form to retrieve data and then save them through the eZ Publish API.

But I get the error "missing form token from Request, at ezxFormToken::input(object(eZURI)).

Dispite this error, the data I've entered in the form have been saved in the eZ publish classes I've created in the administration interface.

I can't figure out how to handle this error. Any hint ?

Thursday 25 April 2013 4:15:18 pm

Hi Nicolas

Issues related to CSRF protection have recently been fixed (https://jira.ez.no/browse/EZP-20289 , https://jira.ez.no/browse/EZP-19971).

Anyway, if you have this error, it means that you're posting to the legacy kernel somehow... Can you provide a piece of code or a gist ?

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from