diff options
Diffstat (limited to 'framework/Web')
-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)
|