Fixed bug #5660: Wrong HTTP Header on Domain Redirect (fix by Jeff Segars)
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 15 Jan 2008 08:21:16 +0000 (08:21 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 15 Jan 2008 08:21:16 +0000 (08:21 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2891 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_page.php

index 0e07eae..aa5ab6c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-15     Dmitry Dulepov  <dmitry@typo3.org>
+
+       * Fixed bug #5660: Wrong HTTP Header on Domain Redirect (fix by Jeff Segars)
+
 2008-01-15  Oliver Hader  <oh@inpublica.de>
 
        * (feature) Added feature #7122: IRRE - Implement TYPO3AJAX handler for Inline Relational Record Editing
index 346994c..7e9d8ea 100755 (executable)
@@ -521,6 +521,7 @@ class t3lib_pageSelect {
                                        $prependStr = ereg_replace('^\/','',substr($request_uri,strlen($path)));
                                        $rURL.= '/'.$prependStr;
                                }
+                               Header('HTTP/1.1 301 Moved Permanently');
                                Header('Location: '.t3lib_div::locationHeaderUrl($rURL));
                                exit;
                        } else {