diff --git a/manual/new/index.php b/manual/new/index.php index 82d2b72aa..69f2539e4 100644 --- a/manual/new/index.php +++ b/manual/new/index.php @@ -56,7 +56,7 @@ function autoload($class) */ function getSvnRevision($file) { - $cmd = 'HOME=/tmp /usr/bin/svn info ' . $file; + $cmd = 'HOME=/tmp /usr/bin/svn info ' . escapeshellcmd($file); exec($cmd, $output); foreach ($output as $line) { if (preg_match('/^Last Changed Rev: ([0-9]+)$/', $line, $matches)) {