diff --git a/manual/new/index.php b/manual/new/index.php index 69f2539e4..3d9e951f5 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 ' . escapeshellcmd($file); + $cmd = 'HOME=/tmp /usr/bin/svn info ' . escapeshellarg($file); exec($cmd, $output); foreach ($output as $line) { if (preg_match('/^Last Changed Rev: ([0-9]+)$/', $line, $matches)) {