[TYPO3-core] RFC #16656 : bug : ImageMagick does not work with quotes in exec() path on Windows

Jigal van Hemert jigal at xs4all.nl
Mon Feb 21 20:18:13 CET 2011


Hi,

Attached version 3 which takes a little bit different approach [1]. So 
for PHP versions lower than 5.3.0 on Windows there must be an extra set 
of double quotes around the command. PHP does this in 5.3, but this 
change hasn't been backported to 5.2 (and because 5.2.x is EOL this 
won't happen).

The patch for 4_5 and trunk uses t3lib_utility_Command::exec() as the 
place to fix this; the patch for 4_4 uses t3lib_div::imageMagickCommand().

[1] http://www.php.net/manual/en/function.exec.php#101579

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16656_4-4_v3.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110221/747c8fcb/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16656_v3.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110221/747c8fcb/attachment.txt>


More information about the TYPO3-team-core mailing list