Skip to content

Commit

Permalink
WIP: forgot to put back: escape hell args
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRannou committed Dec 2, 2011
1 parent 670c6dd commit 33b803f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ajax/executecommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
# clean the command
$fullcommand = $env_vars . $command . " ../" . $image . " ../" . $newimage;

system($fullcommand);
system(escapeshellarg($fullcommand));

#return 2 images to update visualization and show paths
#echo $ext . " " . $realpath;
echo $image . " " . $newimage;
?>
?>

0 comments on commit 33b803f

Please sign in to comment.