diff options
author | xue <> | 2006-11-25 20:51:43 +0000 |
---|---|---|
committer | xue <> | 2006-11-25 20:51:43 +0000 |
commit | cb0aeb81d77d7170196f1b667978f56c6018100b (patch) | |
tree | 53deb6628356454d7e4348641135c84c1a909292 /framework/Web/THttpResponse.php | |
parent | af340f68ef716b9a3c021a8cabc40068068bf3bf (diff) |
merge from 3.0 branch till 1508.
Diffstat (limited to 'framework/Web/THttpResponse.php')
-rw-r--r-- | framework/Web/THttpResponse.php | 2 |
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('&','&',$url));
exit();
}
|