From cb0aeb81d77d7170196f1b667978f56c6018100b Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 25 Nov 2006 20:51:43 +0000 Subject: merge from 3.0 branch till 1508. --- framework/Web/THttpResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/THttpResponse.php') 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(); } -- cgit v1.2.3