Task #27628
Split escape ViewHelper into dedicated format ViewHelpers
Status: | Resolved | Start date: | 2011-06-21 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | ViewHelpers | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 beta 1 | |||
Has patch: | No |
Description
Currently the f:escape ViewHelper is targeted at a lot of different use cases (html escaping, url encoding, strip tags, ...).
That makes it harder to test and to extend.
Additionally the current implementation has the severe side-effect that the input value is not escaped at all, if the specified format is not supported.
Related issues
Associated revisions
[+TASK] Split escape ViewHelper into dedicated format ViewHelpers
This change creates a dedicated ViewHelper for all formats the
Escape ViewHelper supported.
This also marks the Escape ViewHelper deprecated and adds unit
tests for the new ViewHelpers.
Resolves #27628
Change-Id: Ic041f017cca4310cdc807c78c9ac0693a19e3f51
History
#1 Updated by Bastian Waidelich about 4 years ago
- Status changed from New to Under Review
Patch set available at http://review.typo3.org/2864
#2 Updated by Bastian Waidelich about 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 45f334015b30cdd082cf9d2e6336a538a1b0d275.