diff options
author | xue <> | 2007-08-18 21:23:39 +0000 |
---|---|---|
committer | xue <> | 2007-08-18 21:23:39 +0000 |
commit | 45016cc46902d78333dc7c3a9348c4d0f8c45048 (patch) | |
tree | 35a7396efca2e821145ae9becac258d68e289211 | |
parent | 2ddee13c8a2597464be6a7a91cf13997b3186b40 (diff) |
url encode service parameter.
-rw-r--r-- | framework/Web/TUrlManager.php | 2 |
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?'&':'&';
$request=$this->getRequest();
if(is_array($getItems) || $getItems instanceof Traversable)
|