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 #1

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58636

Actions #2

Updated by Wouter Wolters over 5 years ago

  • Is duplicate of Bug #86551: Typo in response HTTP headers when sending temporary content added
Actions #3

Updated by Wouter Wolters over 5 years ago

  • Status changed from Under Review to Closed

duplicate of #86551

Actions

Also available in: Atom PDF