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

Helmut Hummel helmut.hummel at typo3.org
Tue Feb 22 00:47:40 CET 2011


Hi Jigal,

thanks for working on these im/gm issues!

On 21.02.11 20:18, Jigal van Hemert wrote:

> 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().

That's what I also found im my researches. It totally makes sense by
reading, so +1.

Would be nice if a Windows user with PHP 5.2 could test this.

Kind regards,
Helmut

-- 
Helmut Hummel
TYPO3 Security Team Leader

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-team-core mailing list