Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.1
-
Fix Version/s: 1.0.3
-
Component/s: Zend_Controller
-
Labels:None
Description
Affected File: Zend/Controller/Action/Helper/Url.php
The returned url from the simple method should have an "/" as prefix, that dynamic created url`s will be redirected correct by the browser.
An possible patch could be:
--- Url.php 2007-09-05 14:39:14.404473800 +0200
+++ Url.php 2007-09-06 21:53:02.218750000 +0200
@@ -73,6 +73,8 @@
$url .= '/' . $paramString;
}
+ $url = '/' . ltrim($url, '/');
+
return $url;
}
Assigned to Matthew