From 00f0944e2e3742bf69d2f085ae3752352985cb8b Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 28 Jan 2009 12:31:47 -0700 Subject: [PATCH] Fix escaping revision range string --- framework/Vcs/lib/Horde/Vcs/Git.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Vcs/lib/Horde/Vcs/Git.php b/framework/Vcs/lib/Horde/Vcs/Git.php index 6004c192e..c7d249f06 100644 --- a/framework/Vcs/lib/Horde/Vcs/Git.php +++ b/framework/Vcs/lib/Horde/Vcs/Git.php @@ -170,7 +170,7 @@ class Horde_Vcs_Git extends Horde_Vcs */ protected function _getRevisionRange($file, $r1, $r2) { - $cmd = $this->getCommand() . ' rev-list ' . escapeshellarg($r1) . '..' . escapeshellarg($r2) . ' -- ' . escapeshellarg($file->queryModulePath()); + $cmd = $this->getCommand() . ' rev-list ' . escapeshellarg($r1 . '..' . $r2) . ' -- ' . escapeshellarg($file->queryModulePath()); $revs = array(); exec($cmd, $revs); -- 2.11.0