summaryrefslogtreecommitdiff
path: root/framework/Web/TUrlManager.php
diff options
context:
space:
mode:
authorxue <>2007-08-18 21:23:39 +0000
committerxue <>2007-08-18 21:23:39 +0000
commit45016cc46902d78333dc7c3a9348c4d0f8c45048 (patch)
tree35a7396efca2e821145ae9becac258d68e289211 /framework/Web/TUrlManager.php
parent2ddee13c8a2597464be6a7a91cf13997b3186b40 (diff)
url encode service parameter.
Diffstat (limited to 'framework/Web/TUrlManager.php')
-rw-r--r--framework/Web/TUrlManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/TUrlManager.php b/framework/Web/TUrlManager.php
index f1eb888c..6e3562bf 100644
--- a/framework/Web/TUrlManager.php
+++ b/framework/Web/TUrlManager.php
@@ -54,7 +54,7 @@ class TUrlManager extends TModule
*/
public function constructUrl($serviceID,$serviceParam,$getItems,$encodeAmpersand,$encodeGetItems)
{
- $url=$serviceID.'='.$serviceParam;
+ $url=$serviceID.'='.urlencode($serviceParam);
$amp=$encodeAmpersand?'&amp;':'&';
$request=$this->getRequest();
if(is_array($getItems) || $getItems instanceof Traversable)