From: Michael M Slusarz Date: Wed, 28 Jan 2009 19:31:47 +0000 (-0700) Subject: Fix escaping revision range string X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=00f0944e2e3742bf69d2f085ae3752352985cb8b;p=horde.git Fix escaping revision range string --- 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);