Task #57107
closedFeature #56642: Missing TypoScript property to quote and escape content for use in JavaScript
Rename escapeJsValue and make it context specific
100%
Description
The stdWrap property escapeJsValue actually encodes the content and should thus be called encodeJsValue. Also the value must be enclosed in quotes to prevent it from being used outside the target context of string values in JavaScript.
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28571
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28571
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28571
Updated by Jigal van Hemert over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset be64df41b2980728275296def465c0f72f4d9e29.