Project

General

Profile

Actions

Bug #16066

closed

Language pack installation cannot handle spaces in filenames

Added by Johannes Bornhold about 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
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

bug-3299.diff (594 Bytes) bug-3299.diff Administrator Admin, 2006-07-12 18:09

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #14804: Indexing external documents fails if there are spaces in the pathClosedMichael Stucki2005-06-08

Actions
Actions #1

Updated by Johannes Bornhold about 18 years ago

See also BUG #0001180

Actions

Also available in: Atom PDF