[BUGFIX] Form values with newlines escaped in email 20/9020/5
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 17 Oct 2012 08:29:56 +0000 (10:29 +0200)
committerDmitry Dulepov <dmitry@typo3.org>
Tue, 27 Nov 2012 11:38:12 +0000 (15:38 +0400)
commit72116577a84da92979511e296324e9ffc3e0020d
tree20200bcfd177ae475b9c6b1f4919634fc81d25ed
parent201b7814aac759110f7539afb58149741145b391
[BUGFIX] Form values with newlines escaped in email

nl2br() is executed before htmlspecialchars(). Needs to be
the other way round so the <br/> is not encoded as well.

Change-Id: I8006e27393105dd425a17d14e7d9553e15d797be
Fixes: #32515
Releases: 4.6, 4.7, 6.0
typo3/sysext/form/Classes/View/Mail/Html/Element/AbstractElementView.php
typo3/sysext/form/Tests/Unit/View/Mail/Html/Element/AbstractElementViewTest.php [new file with mode: 0644]