From: Chuck Hagenbuch Date: Mon, 9 Aug 2010 04:38:14 +0000 (-0400) Subject: Horde_Controller_Request uses getPath(), not getUri() X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7b24481ae4f1a937460a89a2b4eaf4d37f22ed8b;p=horde.git Horde_Controller_Request uses getPath(), not getUri() --- diff --git a/framework/View/lib/Horde/View/Helper/Url.php b/framework/View/lib/Horde/View/Helper/Url.php index cb3388b31..f5ab283b4 100644 --- a/framework/View/lib/Horde/View/Helper/Url.php +++ b/framework/View/lib/Horde/View/Helper/Url.php @@ -405,7 +405,7 @@ class Horde_View_Helper_Url extends Horde_View_Helper_Base if ($this->controller) { // @todo prepending "/" is a hack, need to fix request object $request = $this->controller->getRequest(); - $requestUri = '/' . ltrim($request->getUri(), '/'); + $requestUri = '/' . ltrim($request->getPath(), '/'); } else { // @todo accessing $_REQUEST directly is a hack $requestUri = $_SERVER['REQUEST_URI'];