Issue Bug Closed

#22605t3lib_div::imageMagickCommand incorrectly change parameters order

Sergey Vorobyov 05/07/10, 09:59 updated 09/23/13, 10:49

Description

t3lib_div::imageMagickCommand incorrectly change parameters order due to wrong logic in t3lib_div::unQuoteFilenames.
Existing version merge two parameters quoted by “ symbol if first parameter don’t contain whitespace: “filename1” “filename2” -> “filename1 filename2”

install typo3 in environment where all paths are without spaces
use GM
InstallTool -> ImageProcessing check -> Combining Images OR GD library function

Resolution:
class.t3lib_div.php line 5667: function unQuoteFilenames
regEx
elseif(preg_match(‘/^”/’, $v))
need to be changed to
elseif(preg_match(‘/^”.*[^”]$/’, $v))
(issue imported from #M14329)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.