summaryrefslogtreecommitdiff
path: root/framework/Web/THttpResponse.php
diff options
context:
space:
mode:
authorxue <>2006-11-25 20:51:43 +0000
committerxue <>2006-11-25 20:51:43 +0000
commitcb0aeb81d77d7170196f1b667978f56c6018100b (patch)
tree53deb6628356454d7e4348641135c84c1a909292 /framework/Web/THttpResponse.php
parentaf340f68ef716b9a3c021a8cabc40068068bf3bf (diff)
merge from 3.0 branch till 1508.
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 ad935103..3a6d0aa3 100644
--- a/framework/Web/THttpResponse.php
+++ b/framework/Web/THttpResponse.php
@@ -318,7 +318,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();
}