Task #27628

Split escape ViewHelper into dedicated format ViewHelpers

Added by Bastian Waidelich about 4 years ago. Updated about 4 years ago.

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

related to TYPO3.Fluid - Task #27583: Move raw ViewHelper to format.raw Resolved 2011-06-20
related to TYPO3.Fluid - Bug #8484: Revise EscapeViewHelper Closed 2010-06-24

Associated revisions

Revision 45f33401
Added by Bastian Waidelich about 4 years ago

[+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

Also available in: Atom PDF