Index: typo3/sysext/cms/tslib/class.tslib_fe.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_fe.php (revision 3870) +++ typo3/sysext/cms/tslib/class.tslib_fe.php (working copy) @@ -2543,6 +2543,22 @@ $params = '&FE_SESSION_KEY='.rawurlencode($this->fe_user->id.'-'.md5($this->fe_user->id.'/'.$this->TYPO3_CONF_VARS['SYS']['encryptionKey'])); $this->jumpurl.= ($uParts['query']?'':'?').$params; // Add the session parameter ... } + if ($TSConf['TSFE.']['jumpURL_HTTPStatusCode']) { + switch (intval($TSConf['TSFE.']['jumpURL_HTTPStatusCode'])){ + case 301: + header('HTTP/1.1 301 Moved Permanently'); + break; + case 302: + header('HTTP/1.1 302 Found'); + break; + case 303: + header('HTTP/1.1 303 See Other'); + break; + case 307: + header('HTTP/1.1 307 Temporary Redirect'); + break; + } + } header('Location: '.$this->jumpurl); exit; }