Actions
Bug #86658
closedException because of Expire Header from TypoScriptFrontendController::getHttpHeadersForTemporaryContent
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2018-10-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
In TYPO3 9.5 probably also in 9.4 an Exception is thrown when TypoScriptFrontendController::applyHttpHeadersToResponse has "tempContent"
The "Expire" => 0
part of the return value in TypoScriptFrontendController::getHttpHeadersForTemporaryContent causes, that later in TypoScriptFrontendController::applyHttpHeadersToResponse the call of \TYPO3\CMS\Core\Http\Message::withHeader throws Exception 1436717266 because
the header value is not a string.
Solution would be to return Expire as string'Expire' => '0'
Actions