[TYPO3-core] RFC #16656 : bug : ImageMagick does not work with quotes in exec() path on Windows
Helmut Hummel
helmut.hummel at typo3.org
Sun Jan 2 18:13:48 CET 2011
Hi,
On 02.01.11 14:31, Helmut Hummel wrote:
> +1 by reading, I try to reproduce the error and test the fix, I was not
> able to do so until now.
I still did not manage test this on Windows, but I'm pretty sure this
will also fail on Windows if safe_mode is on, because in safe_mode
escapeshellcmd() is executed[1], which means that all "&" are replaced
by " ".[2]
Then the complete command would be:
c: "c:/path/to/gm.exe"
Kind regards,
Helmut
[1]http://www.php.net/manual/de/features.safe-mode.functions.php
[2]http://www.php.net/manual/en/function.escapeshellcmd.php
--
Helmut Hummel
TYPO3 Security Team Leader
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-team-core
mailing list