diff options
author | xue <> | 2006-11-25 20:42:54 +0000 |
---|---|---|
committer | xue <> | 2006-11-25 20:42:54 +0000 |
commit | ab13651952c7ce3a5048e5b7d2f2d62d61a71de8 (patch) | |
tree | 916effc937294bb6cb72e0c8a610fc5ad08486dd /framework/Web/Services | |
parent | f973b8515d0d45e4308d061e0a4b6a900fdb2b83 (diff) |
constructUrl encodes ampersand by default now.
Diffstat (limited to 'framework/Web/Services')
-rw-r--r-- | framework/Web/Services/TPageService.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index 98e53156..5d9e74fb 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -462,11 +462,11 @@ class TPageService extends TService * Constructs a URL with specified page path and GET parameters.
* @param string page path
* @param array list of GET parameters, null if no GET parameters required
- * @param boolean whether to encode the ampersand in URL, defaults to false.
+ * @param boolean whether to encode the ampersand in URL, defaults to true.
* @param boolean whether to encode the GET parameters (their names and values), defaults to true.
* @return string URL for the page and GET parameters
*/
- public function constructUrl($pagePath,$getParams=null,$encodeAmpersand=false,$encodeGetItems=true)
+ public function constructUrl($pagePath,$getParams=null,$encodeAmpersand=true,$encodeGetItems=true)
{
return $this->getRequest()->constructUrl($this->getID(),$pagePath,$getParams,$encodeAmpersand,$encodeGetItems);
}
|