Bug #42454

Fix usage of fileadminDir

Added by Helmut Hummel about 9 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-10-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

#41120 introduced a regression, as the global $GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] has a trailing backslash.

Fix that by removing the trailing slash and quoting the value of the global for the case it contains further path segments


Related issues

Related to TYPO3 Core - Bug #41962: Wrong escapted RegEx in core/Classes/Database/SoftReferenceIndex.phpClosedTolleiv Nietsch2012-10-13

Actions
Related to TYPO3 Core - Bug #42762: preg_split wrong modifier in t3lib_softrefproClosed2012-11-07

Actions
Follows TYPO3 Core - Bug #41120: Hardcoded fileadmin directory in Import-ExportClosed2012-09-20

Actions
#1

Updated by Gerrit Code Review about 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15987

#2

Updated by Gerrit Code Review about 9 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/15988

#3

Updated by Helmut Hummel about 9 years ago

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

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF