[BUGFIX] Prevent double slash in canonicalizeAndCheckFolderIdentifier 43/36543/6
authorSascha Egerer <sascha.egerer@dkd.de>
Sat, 31 Jan 2015 20:45:39 +0000 (21:45 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 2 Feb 2015 20:20:52 +0000 (21:20 +0100)
commitb60e06a7f0d4319fbf95de229a6096eae024bb7f
tree14ebe0a67a1ef233ced8508d44078910c87a0fe9
parent65a3c381a3e60810ee91fa1c6d0766bf22b6531a
[BUGFIX] Prevent double slash in canonicalizeAndCheckFolderIdentifier

If the value given to AbstractHierarchicalFilesystemDriver->
canonicalizeAndCheckFolderIdentifier()
is '.' the return was '//' but should be '/'.

Resolves: #64706
Releases: master
Change-Id: I63900c44be3180b0a9b8e31d89c6c896382db6b7
Reviewed-on: http://review.typo3.org/36543
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Resource/Driver/AbstractHierarchicalFilesystemDriver.php
typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractHierarchicalFilesystemDriverTest.php [new file with mode: 0644]