From 7b24481ae4f1a937460a89a2b4eaf4d37f22ed8b Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Mon, 9 Aug 2010 00:38:14 -0400 Subject: [PATCH] Horde_Controller_Request uses getPath(), not getUri() --- framework/View/lib/Horde/View/Helper/Url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; -- 2.11.0