security fix, use escapeshellcmd()

This commit is contained in:
AlberT 2015-05-28 13:53:33 +02:00
parent c69d8888f5
commit 8c55588918

View file

@ -212,7 +212,7 @@ class Console
$return = 1;
$log = array();
exec($command . ' 2>&1', $log, $return);
exec(escapeshellcmd($command . ' 2>&1'), $log, $return);
$log = implode(PHP_EOL, $log);
if (!$return) {