summaryrefslogtreecommitdiff
path: root/framework/Web/THttpRequest.php
diff options
context:
space:
mode:
authorxue <>2006-11-25 20:42:54 +0000
committerxue <>2006-11-25 20:42:54 +0000
commitab13651952c7ce3a5048e5b7d2f2d62d61a71de8 (patch)
tree916effc937294bb6cb72e0c8a610fc5ad08486dd /framework/Web/THttpRequest.php
parentf973b8515d0d45e4308d061e0a4b6a900fdb2b83 (diff)
constructUrl encodes ampersand by default now.
Diffstat (limited to 'framework/Web/THttpRequest.php')
-rw-r--r--framework/Web/THttpRequest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php
index b9d8d1ea..bb7b4281 100644
--- a/framework/Web/THttpRequest.php
+++ b/framework/Web/THttpRequest.php
@@ -487,7 +487,7 @@ class THttpRequest extends TApplicationComponent implements IteratorAggregate,Ar
* @return string URL
* @see parseUrl
*/
- public function constructUrl($serviceID,$serviceParam,$getItems=null,$encodeAmpersand=false,$encodeGetItems=true)
+ public function constructUrl($serviceID,$serviceParam,$getItems=null,$encodeAmpersand=true,$encodeGetItems=true)
{
$url=$serviceID.'='.$serviceParam;
$amp=$encodeAmpersand?'&amp;':'&';