From: Michael M Slusarz Date: Fri, 2 Jul 2010 20:25:57 +0000 (-0600) Subject: Make sure there are not 2 /'s in a row. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0a72d1d76bb07832a1e66dc1eb06df3254f3471a;p=horde.git Make sure there are not 2 /'s in a row. --- diff --git a/framework/Url/lib/Horde/Url.php b/framework/Url/lib/Horde/Url.php index 04f6a9ab9..75201eafc 100644 --- a/framework/Url/lib/Horde/Url.php +++ b/framework/Url/lib/Horde/Url.php @@ -217,6 +217,7 @@ class Horde_Url $url = $this->url; if (strlen($this->pathInfo)) { + $url = rtrim($url, '/'); $url .= '/' . $this->pathInfo; } if (count($url_params)) {