Bug #24520
closedImageMagick / GraphicsMagick does not run on every system
0%
Description
Hello,
I have a very hardened hosting system and I could not get IM / GM wanted to run. I had to modify the class.t3lib_div.php in the function imageMagickCommand(). I removed the 2 escapeshellarg() around the commands and voila... IM / GM runs.
First I wanted to know why there are the 2 escapeshellarg() and if we/you can remove them?
PHP Version 5.2.6-1+lenny8
CGI/FastCGI
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
safe_mode=one
safe_mode_exec_dir set
(issue imported from #M16974)