我使用 TYPO3 表单扩展并将表单集成如下:
我在 TYPO3 后端创建了一个新页面,并在那里集成了联系表格。
在 TypoScript 中,我创建了以下变量:
CONTACTFORM = CONTENT
CONTACTFORM {
table = tt_content
select {
pidInList = 23
includeRecordsWithoutDefaultTranslation = 1
}
}
在流体模板中,我将它们称为如下:
<div class="col-lg-8">
<div class="row">
<f:format.htmlentitiesDecode>{CONTACTFORM}</f:format.htmlentitiesDecode>
</div>
</div>
当我发送表单时,我收到此错误:
(1/1) #1581862822 TYPO3\CMS\Core\Error\Http\BadRequestException
The HMAC of the form could not be validated.
看起来隐藏的表单字段 tx_form_formframework[__trustedProperties] 也被解析了如何防止这种情况?