Project

General

Profile

Actions

Bug #86658

closed

Exception because of Expire Header from TypoScriptFrontendController::getHttpHeadersForTemporaryContent

Added by Andreas Häfner over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
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'


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #86551: Typo in response HTTP headers when sending temporary contentClosedBenni Mack2018-10-03

Actions
Actions

Also available in: Atom PDF