Bug #3321
closed
escapeshellcmd blacklisted results in configuration erroring out
Added by krileon over 12 years ago.
Updated about 12 years ago.
Description
When escapeshellcmd is blacklisted by a servers security it results in the configuration page displaying nothing or erroring out. Should check if function is available before attempting to use and if not just return $command as done for windows servers.
Files
- Target version changed from CB 1.8.1 to CB 1.9
- Priority changed from Normal to High
- Status changed from Resolved to Closed
- Estimated time set to 1:00 h
This warning only appears when exec() is enabled !!!!
Means the server is really misconfigured !
On Unix servers we should not use exec without escapeshellcmd.
Allowing exec but not escapeshellcmd() is complete non-sense. Thus that case should be handled not as suggested, but we should check for that at same time as exec().
Thus fixed the issue differently than suggested.
Committed in r1880 .
Also available in: Atom
PDF