#21165Filenames should be escaped with escapeshellarg before passing them to imagemagick
Description
The problem lies in class.t3lib_stdgraphic.php::wrapFileName() with is
supposed to wrap a filename into double quotes.
Unfortunately it does this task only, if it finds a space character
in the filename. Other special characters which are not allowed on
the shell are not treated.
The better option would be to use escapeshellarg() provided by PHP.
Reported by: Christian Welzel
OTRS ID: 2009080710000036
(issue imported from #M12090)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.