[BUGFIX] Prevent XSS in ViewHelpers
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid / Classes / ViewHelpers / Format / DateViewHelper.php
index eb13c2f..55c2798 100644 (file)
@@ -85,11 +85,8 @@ use TYPO3\CMS\Fluid\Core\ViewHelper\Exception;
 class DateViewHelper extends AbstractViewHelper
 {
     /**
-     * @var bool
-     */
-    protected $escapeOutput = false;
-
-    /**
+     * Needed as child node's output can return a DateTime object which can't be escaped
+     *
      * @var bool
      */
     protected $escapeChildren = false;