Bug #32515
closedForm values with newlines are displayed with <br/>'s in email
Added by Alexander Dick almost 13 years ago. Updated about 6 years ago.
100%
Description
When entering a text with newlines in a textarea, the newlines are displayed as <br/>'s in the resulting email.
File: typo3/sysext/form/Classes/View/Mail/Html/Element/Abstract.php
Function: getInputValue()
The input value is first parsed through nl2br() and then through htmlspecialchars(), which results in escaped <br/> tags instead of real <br/> Tags (for the html mail).
Updated by Steffen Gebert almost 13 years ago
Thanks for your report, Alexander! Can you reverse that order and submit the code to the review procedure? See http://wiki.typo3.org/Git. Would be awesome!
Updated by Gerrit Code Review almost 13 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9020
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9020
Updated by Andreas Mayer about 12 years ago
Can confirm this behaviour for Typo3/4.7.4. Do you still need a review?
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9020
Updated by Gerrit Code Review almost 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9020
Updated by Gerrit Code Review almost 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9020
Updated by Helmut Hummel almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 135589061e3017bf122fc8af1fecd56a89427636.
Updated by Helmut Hummel almost 12 years ago
- Status changed from Resolved to Accepted
- % Done changed from 100 to 50
Reverted for now. Merged after merge freeze and test needs to be improved.
Updated by Gerrit Code Review almost 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/16798
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/16801
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16804
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16825
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16825
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16825
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at http://review.typo3.org/16871
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/16798
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/16801
Updated by Helmut Hummel almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 50 to 100
Applied in changeset 04b2e6c360989724528c9f98e197da3d70b85247.