[CLEANUP] Remove double sanitizing of Fluid paths 03/46403/2
authorHelmut Hummel <info@helhum.io>
Sat, 30 Jan 2016 16:49:22 +0000 (17:49 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Sun, 31 Jan 2016 20:24:05 +0000 (21:24 +0100)
Sanitizing of paths is done already when in
the setters of \TYPO3Fluid\Fluid\View\TemplatePaths

So we can remove the call in our own implementation.

Resolves: #73036
Releases: master
Change-Id: I242745662325e001f3ef6f4928fa8d9c7e6c5dfd
Reviewed-on: https://review.typo3.org/46403
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/fluid/Classes/View/TemplatePaths.php

index 3206cfe..647c266 100644 (file)
@@ -96,7 +96,7 @@ class TemplatePaths extends \TYPO3Fluid\Fluid\View\TemplatePaths
         foreach ($paths as $name => $values) {
             $paths[$name] = $values + (array) $configuration[$name];
         }
-        return array_map(array($this, 'sanitizePath'), $paths);
+        return $paths;
     }
 
     /**