Bug #6514

HMAC error when rendering links inside forms

Added by Christine Gerpheide over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-02-18
Priority:Must have Due date:
Assigned To:Sebastian Kurfuerst % Done:

100%

Category:-
Target version:-
Has patch: Affected Flow version:

Description

When adding a link viewhelper inside of a form, an invalid HMAC exception is thrown on submit:
---
#1255082824: Request hash (HMAC) checking failed. The parameter __hmac was invalid or not set, and objects were modified.
---

For example, this form throws the error:

<f:form method="post" action="update" name="updateList" object="{updateList}" arguments="{mode : 'rename'}">
<f:link.action action="index" >Subscriber Lists</f:link.action>
<f:form.textbox property="title" id="listname" class="required" />
<f:form.submit class="submit" value="Save Changes"/>
</f:form>

If you remove the link.action element, the form will submit successfully, but you should be allowed to add such links inside a form.


Related issues

related to TYPO3.Fluid - Bug #6809: using f:link.action inside f:form breaks hmac verification Resolved 2010-03-12

History

#1 Updated by Sebastian Kurfuerst over 5 years ago

  • Status changed from New to Accepted
  • Assigned To set to Sebastian Kurfuerst
  • Priority changed from Should have to Must have

#2 Updated by Sebastian Kurfuerst over 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

duplicate, and solved.

Also available in: Atom PDF