[BUGFIX] Prevent double slash in canonicalizeAndCheckFolderIdentifier 09/37109/4
authorSascha Egerer <sascha.egerer@dkd.de>
Sat, 31 Jan 2015 20:45:39 +0000 (21:45 +0100)
committerSascha Egerer <sascha@sascha-egerer.de>
Wed, 25 Feb 2015 08:02:40 +0000 (09:02 +0100)
commit121a59d9eb8b239b4c564930111b16972762006e
tree568809bf67d39dc357d261e5ce97cfe3bfa62e4e
parentebc110f06ef51e81c551fce069df3196b8d58053
[BUGFIX] Prevent double slash in canonicalizeAndCheckFolderIdentifier

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

Resolves: #64706
Releases: master, 6.2
Change-Id: I63900c44be3180b0a9b8e31d89c6c896382db6b7
Reviewed-on: http://review.typo3.org/37109
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
typo3/sysext/core/Classes/Resource/Driver/AbstractHierarchicalFilesystemDriver.php
typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractHierarchicalFilesystemDriverTest.php [new file with mode: 0644]