[BUGFIX] Substitute form references for array keys as well in ext:form 90/61890/2
authorChristian Eßl <indy.essl@gmail.com>
Sat, 5 Oct 2019 08:43:21 +0000 (10:43 +0200)
committerDaniel Goerz <daniel.goerz@posteo.de>
Sat, 9 Nov 2019 13:04:49 +0000 (14:04 +0100)
commit020f22dcf927fbd9507a03a15b00dc6109c60bbf
tree88a4b496746355424cbc5e2a66971712b9b5c586
parent84e50d224b92092e0f1927461dd8d89c564a7822
[BUGFIX] Substitute form references for array keys as well in ext:form

In ext:form, string placeholders, like "{text-1}", can be used inside
the finisher to place form inputs, made by the user, inside fields like
the email subject, reploy to email and name, etc. These string
substitutions however were not done for array keys (only array values).

Resolves: #88550
Releases: master
Change-Id: I727850f3e15479215b56be4cd136d93644b0d435
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61890
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog <look@susi.dev>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Susanne Moog <look@susi.dev>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php
typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php