http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692017-10-03T13:51:26ZTYPO3 ForgeTYPO3 Core - Bug #65801: Headers are visible if URI of pageNotFound_handling has a redirect by .haccesshttp://forge.typo3.org/issues/65801?journal_id=3415512017-10-03T13:51:26ZSimon Schaufelberger
<ul></ul><p>Here is a snippet somebody sent to me. Maybe thats helpful.</p>
<pre>
$res = GeneralUtility::getUrl($code, 1, $headerArr);
// Header and content are separated by an empty line
list($header, $content) = explode(CRLF . CRLF, $res, 2);
if (substr($content, 0, 4) == 'HTTP') {
list($header, $content) = explode(CRLF . CRLF, $content, 2);
}
$content .= CRLF;
</pre> TYPO3 Core - Bug #65801: Headers are visible if URI of pageNotFound_handling has a redirect by .haccesshttp://forge.typo3.org/issues/65801?journal_id=3981842019-04-14T20:50:28ZRiccardo De Contardierredeco@gmail.com
<ul></ul><p>Can this issue be considered still valid? If I have not understood it wrong, <code>TypoScriptFrontendController->pageErrorHandler</code> has been deprecated since version 9.2 and removed on 10</p>
<p>See</p>
<p>typo3/sysext/core/Documentation/Changelog/9.2/Deprecation-83883-PageNotFoundAndErrorHandlingInFrontend.rst</p>
<p>typo3/sysext/core/Documentation/Changelog/master/Breaking-87193-DeprecatedFunctionalityRemoved.rst</p> TYPO3 Core - Bug #65801: Headers are visible if URI of pageNotFound_handling has a redirect by .haccesshttp://forge.typo3.org/issues/65801?journal_id=3982102019-04-15T09:00:34ZStefan Froemkenfroemken@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>You're right. With a redirect or static string in pageNotFound Handling of a TYPO3 8 to a non https URI, but with redirect to https, of a TYPO3 9 there are no header data visible anymore. Perfect. Ticket can be closed.</p> TYPO3 Core - Bug #65801: Headers are visible if URI of pageNotFound_handling has a redirect by .haccesshttp://forge.typo3.org/issues/65801?journal_id=3982112019-04-15T09:00:46ZStefan Froemkenfroemken@gmail.com
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul>