[BUGFIX] Ensure new deep dirs don't contain double slashes 99/36399/8
authorThomas Deuling <tdeuling@gmail.com>
Fri, 30 Jan 2015 10:06:42 +0000 (11:06 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 28 Feb 2015 16:28:53 +0000 (17:28 +0100)
commit2f4d1314757281cf5651083e0f4f1c5aee2f6669
tree921cc95dcfb809bdf3d6f24feeddeb282a0f1ea5
parentd813c9a48024147fe56e28287c3bc67dcf7bf98c
[BUGFIX] Ensure new deep dirs don't contain double slashes

The method of GeneralUtility::mkdir_deep has two parameters, which are
concatenated. This could end up in a double slashes. To prevent that,
the parameters are modified to concat them with only one slash.

Additionally fix a Bug with double slash in FileStreamWrapper.

Resolves: #63920
Releases: master, 6.2
Change-Id: I2d15f6c33550f9045db9b7730f7b074ae54a18dc
Reviewed-on: http://review.typo3.org/36399
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Tests/FileStreamWrapper.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php