Actions
Bug #24379
closedt3lib_stdGraphic::wrapFileName performs escapeshellarg even in safe_mode
Start date:
2010-12-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When safe_mode is on PHP will perform escapeshellcmd on each command sent to the exec() function. When escapeshellarg() is performed on each argument problem characters are escaped twice.
Solution: only perform escapeshellarg() when safe_mode is off.
This used to be part of #22243, which is now split in three parts.
(issue imported from #M16797)
Files
Actions