From a957f5fb091962c05738d619ebc65a908aa397ca Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 4 Jul 2006 23:10:42 +0000 Subject: Fixed #268 --- HISTORY | 1 + framework/Web/THttpResponse.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index c6d39dc5..22ead533 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,7 @@ Version 3.0.3 August 6, 2006 ============================ BUG: Ticket#264 - Typos in some exception throw statements (Knut) +BUG: Ticket#268 - THttpResponse.redirect() may fail for some browsers (Qiang) BUG: TDataGrid may complain getting ItemType on a non-object if the grid is not data-bound (Qiang) NEW: Added TStyleSheet (Wei) diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php index f455f48d..b6b675c1 100644 --- a/framework/Web/THttpResponse.php +++ b/framework/Web/THttpResponse.php @@ -283,7 +283,7 @@ class THttpResponse extends TModule implements ITextWriter $this->getApplication()->onEndRequest(); if($url[0]==='/') $url=$this->getRequest()->getBaseUrl().$url; - header('Location:'.$url); + header('Location: '.$url); exit(); } -- cgit v1.2.3