[BUGFIX] LocalDriver->calculateBasePath doesn't properly sanitize 48/32548/6
authorBernhard Kraft <kraft@webconsulting.at>
Mon, 1 Sep 2014 13:36:01 +0000 (15:36 +0200)
committerFrans Saris <franssaris@gmail.com>
Fri, 19 Sep 2014 14:26:24 +0000 (16:26 +0200)
commit0d5a3c0379d5fc6c208cf267b8b23993cd2b6a55
tree935d2bf284a8e76805c296e2b39b22ead1dec6a8
parent0836e96f3a374c3a2fd167dd8a8bf4ae76aa5e81
[BUGFIX] LocalDriver->calculateBasePath doesn't properly sanitize

The method "calculateBasePath" of Resource/Driver/LocalDriver.php
does not properly sanitize the passed value.

It misses to use the return value of "canonicalizeAndCheckFilePath".

Change-Id: I8f2561e4a3b432d869ba7931f3ce5877714699c0
Resolves: #61295
Releases: 6.3, 6.2
Reviewed-on: http://review.typo3.org/32548
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
typo3/sysext/core/Tests/Unit/Resource/Driver/LocalDriverTest.php