[BUGFIX] No image generation with PHP-SAFE_MODE (GM/IM)
authorJigal van Hemert <jigal@xs4all.nl>
Sat, 10 Mar 2012 18:07:10 +0000 (19:07 +0100)
committerSusanne Moog <typo3@susannemoog.de>
Sat, 10 Mar 2012 18:34:08 +0000 (19:34 +0100)
commitf1f493b77f2276f4dc6384b82a6cb14823fc9c74
tree4a7409f96c80f464e8c9ef9601db4740a992523f
parent93007881168f412c64718c15c462d901895dae46
[BUGFIX] No image generation with PHP-SAFE_MODE (GM/IM)

With safe_mode enabled all imagemagick/graphicsmagick calls will fail.
Solution is to only apply escapeshellarg if it is useful.

Change-Id: Iefeb7c0974440e93710d23a289fe1082a5128b72
Resolves: #24369
Releases: 4.4, 4.5
Reviewed-on: http://review.typo3.org/1448
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
t3lib/class.t3lib_stdgraphic.php
t3lib/thumbs.php
t3lib/utility/class.t3lib_utility_command.php