[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
Showing
- typo3/sysext/form/Classes/View/Mail/Html/Element/AbstractElementView.php 23 additions, 16 deletions...rm/Classes/View/Mail/Html/Element/AbstractElementView.php
- typo3/sysext/form/Tests/Unit/View/Mail/Html/Element/AbstractElementViewTest.php 63 additions, 0 deletions...s/Unit/View/Mail/Html/Element/AbstractElementViewTest.php
Please register or sign in to comment