[BUGFIX] Fix relative path calculations in EM 25/28825/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 26 Mar 2014 11:27:58 +0000 (12:27 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 1 Apr 2014 19:57:55 +0000 (21:57 +0200)
commit64d0871997d442909e7aeb0a71cb003bd56ed364
tree1d50bc1c514577d5b9c8ae59f69872fb10a66874
parentfcf3a2f7e1bedc4b20c427195bc2c2cc22f44301
[BUGFIX] Fix relative path calculations in EM

The extension manager often uses the extension
relative path to calculate paths to different files,
but does not take into account that this path
already has a trailing slash.

Remove excess slashes to avoid double slashes in paths.

Resolves: #57327
Related: #57312
Releases: 6.2
Change-Id: I60519d4d7075a615d0505bfc4cbb2b6ee1b0c222
Reviewed-on: https://review.typo3.org/28825
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/extensionmanager/Classes/Utility/EmConfUtility.php
typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php
typo3/sysext/extensionmanager/Classes/ViewHelpers/ConfigureExtensionViewHelper.php
typo3/sysext/extensionmanager/Classes/ViewHelpers/DownloadExtensionDataViewHelper.php
typo3/sysext/extensionmanager/Resources/Private/Templates/List/Index.html
typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php