Project

General

Profile

Bug #21360 » 0012341.patch

Administrator Admin, 2009-10-26 12:40

View differences:

t3lib/class.t3lib_stdgraphic.php (working copy)
* @return string $inputName escaped as needed
*/
protected function wrapFileName($inputName) {
return escapeshellarg($inputName);
// if safe_mode enabled, escapeshellcmd() is run on exec argument
return ini_get('safe_mode') ? '\'' . $inputName . '\'' : escapeshellarg($inputName);
}
(1-1/5)