Actions
Bug #16066
closedLanguage pack installation cannot handle spaces in filenames
Status:
Closed
Priority:
Should have
Assignee:
Category:
Extension Manager
Target version:
-
Start date:
2006-04-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The installation of language packs via the extension managers "Translation handling" feature does not work if there are spaces in the path to typo3.
The problem is located in the file "typo3/mod/tools/em/class.em_index.php" near line 1297 in the function "unzip".
The filename should be passed to the PHP-function "escapeshellargs" prior to executing the command. The line which creates the CMD-string should be altered according to the following example:
$cmd = $GLOBALS['TYPO3_CONF_VARS']['BE']['unzip_path'].' -o .escapeshellarg($file);
(issue imported from #M3299)
Files
Actions