[BUGFIX] Prevent duplicate '/' in filepath when uploading file 04/37104/3
authorSascha Egerer <sascha.egerer@dkd.de>
Mon, 23 Feb 2015 11:02:46 +0000 (12:02 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Wed, 25 Feb 2015 11:36:34 +0000 (12:36 +0100)
commitc2da28cb4dc9c7956def379c9f38aaa77fada9e3
tree281431c318a8797ca08704d143033bd448c378cc
parent23a9c3f3b44f36d994d6f2845fc35dc26f13b93e
[BUGFIX] Prevent duplicate '/' in filepath when uploading file

To prevent a duplicate '/' in a filepath the function
LocalDriver::getAbsolutePath should be used instead of
concatenating strings by hand.
This fixes also an issue that file uploads are not
possible on windows machines due to a incorrect filepath.

Resolves: #65230
Releases: master, 6.2
Change-Id: Ibe6ff9c8c1d6579c8da24f14cfd6e528f57a8e4f
Reviewed-on: http://review.typo3.org/37104
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php