Skip to content

Commit

Permalink
Revert "security fix, use escapeshellcmd()"
Browse files Browse the repository at this point in the history
  • Loading branch information
eps90 committed Jun 5, 2015
1 parent 4c8b5f5 commit afc042a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mage/Console.php
Expand Up @@ -212,7 +212,7 @@ public static function executeCommand($command, &$output = null)

$return = 1;
$log = array();
exec(escapeshellcmd($command . ' 2>&1'), $log, $return);
exec($command . ' 2>&1', $log, $return);
$log = implode(PHP_EOL, $log);

if (!$return) {
Expand Down

0 comments on commit afc042a

Please sign in to comment.