Bug #55551

Task #49162: Rewrite install tool

Install tool complains about trailing slash in typo3_src link

Added by Andreas Wolf over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2014-02-01
Priority:Should have Due date:
Assigned To:Andreas Wolf % Done:

100%

Category:Install Tool Spent time: -
Target version:-
TYPO3 Version:6.2 Is Regression:No
PHP Version: Sprint Focus:
Complexity:

Description

According to http://unix.stackexchange.com/questions/1910/how-linux-handles-multiple-path-separators-home-username-file, a trailing slash in a path does not matter, so the install tool should also not complain here.

Associated revisions

Revision 7b77f282
Added by Andreas Wolf over 1 year ago

[BUGFIX] Installer rejects traling slash in link target

When having e.g. the link for ``typo3/`` pointing to
``typo3_src/typo3/``, the install tool complains because the trailing
slash is not expected. This slash is however perfectly ok, as there is
no difference between typo3_src/typo3 and typo3_src/typo3/ – both point
to the same "file" (i.e. node in the filesystem structure).

This patch strips trailing slashes from the actual link target before
doing the check, so no change to existing configuration is necessary.

Change-Id: Ibcb2118a2bb8fcf004470f1a949824576ad4d1ec
Resolves: #55551
Releases: 6.2
Reviewed-on: https://review.typo3.org/27229
Reviewed-by: Benjamin Mack
Reviewed-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27229

#2 Updated by Christian Kuhn over 1 year ago

  • Parent task set to #49162

#3 Updated by Andreas Wolf over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF