Bug #21360 » 0012341.patch
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);
|
||
}
|
||