summaryrefslogtreecommitdiff
path: root/framework/Web/THttpResponse.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/THttpResponse.php
parentf973b8515d0d45e4308d061e0a4b6a900fdb2b83 (diff)
constructUrl encodes ampersand by default now.
Diffstat (limited to 'framework/Web/THttpResponse.php')
-rw-r--r--framework/Web/THttpResponse.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php
index 50932920..a7a949f0 100644
--- a/framework/Web/THttpResponse.php
+++ b/framework/Web/THttpResponse.php
@@ -285,7 +285,7 @@ class THttpResponse extends TModule implements ITextWriter
$this->getApplication()->onEndRequest();
if($url[0]==='/')
$url=$this->getRequest()->getBaseUrl().$url;
- header('Location: '.$url);
+ header('Location: '.str_replace('&amp;','&',$url));
exit();
}