projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8aa2c3
)
Horde_Controller_Request uses getPath(), not getUri()
author
Chuck Hagenbuch
<chuck@horde.org>
Mon, 9 Aug 2010 04:38:14 +0000
(
00:38
-0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Mon, 9 Aug 2010 04:38:14 +0000
(
00:38
-0400)
framework/View/lib/Horde/View/Helper/Url.php
patch
|
blob
|
history
diff --git
a/framework/View/lib/Horde/View/Helper/Url.php
b/framework/View/lib/Horde/View/Helper/Url.php
index
cb3388b
..
f5ab283
100644
(file)
--- 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->get
Uri
(), '/');
+ $requestUri = '/' . ltrim($request->get
Path
(), '/');
} else {
// @todo accessing $_REQUEST directly is a hack
$requestUri = $_SERVER['REQUEST_URI'];