Bug #6514

HMAC error when rendering links inside forms

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

Status:
Resolved
Priority:
Must have
Category:
-
Target version:
-
Start date:
2010-02-18
Due date:
% Done:

100%

Has patch:

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 9 years ago

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

#2 Updated by Sebastian Kurfuerst over 9 years ago

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

duplicate, and solved.

Also available in: Atom PDF