From 2c9945643fe0a5dba3d6cab811b1a81b197c77a6 Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns Date: Thu, 13 Jul 2006 21:25:57 +0000 Subject: [PATCH] Fixed bug #3299 (Language pack installation cannot handle spaces in filenames). git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1635 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 4 ++++ typo3/mod/tools/em/class.em_index.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 864b514453c..57ec46b3b0b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-07-13 Karsten Dambekalns + + * EM: Fixed bug #3299 (Language pack installation cannot handle spaces in filenames) + 2006-07-13 Wolfgang Klinger * Fixing some missing is_array checks diff --git a/typo3/mod/tools/em/class.em_index.php b/typo3/mod/tools/em/class.em_index.php index 9556d02725e..9ad9e03ddf3 100644 --- a/typo3/mod/tools/em/class.em_index.php +++ b/typo3/mod/tools/em/class.em_index.php @@ -1294,7 +1294,7 @@ EXTENSION KEYS: function unzip($file, $path) { if(strlen($GLOBALS['TYPO3_CONF_VARS']['BE']['unzip_path'])) { chdir($path); - $cmd = $GLOBALS['TYPO3_CONF_VARS']['BE']['unzip_path'].' -o '.$file; + $cmd = $GLOBALS['TYPO3_CONF_VARS']['BE']['unzip_path'].' -o '.escapeshellarg($file); exec($cmd, $list, $ret); return ($ret === 0); } else { -- 2.20.1