#16066Language pack installation cannot handle spaces in filenames
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.