From 63c8c87ab757fabfeaa9968d10d3873bbf1f9f23 Mon Sep 17 00:00:00 2001 From: jepso Date: Sat, 1 Sep 2007 23:27:06 +0000 Subject: [PATCH] changed escapeshellcmd to escapeshellarg --- manual/new/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {