[TYPO3-mvc] @dontverifyrequesthash won't work

Christian Essl essl at incert.at
Fri Oct 21 10:55:54 CEST 2011


Ok, I found it. I forgot to override the pluginName. :)

-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Christian Essl
Gesendet: Freitag, 21. Oktober 2011 10:48
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: [TYPO3-mvc] @dontverifyrequesthash won't work

I have 2 search forms: 1 inline search form (which will be accessible from every page) and 1 extended search form.

I used the  pageUid="x"-attribute on the inline form to link it with the result page of the extended form. When I use the inline search to get forwarded to the extended form, extbase expects another request hash and throws:

Request hash too short. This is a probably manipulation attempt!
To avoid this behavior I added the @dontverifyrequesthash-annotation:

/**
* action result
*
* @dontverifyrequesthash
* @return void
*/
public function resultAction()
{

}

But it still throws the same error. What did I do wrong? Or is there a better way to exchange values between two internal forms with extbase?

Regards,
Christian
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc


More information about the TYPO3-project-typo3v4mvc mailing list