Project

General

Profile

Actions

Bug #103685

open

Response headers are not handled according to PSR-7 in extbase

Added by David Hedden about 1 year ago. Updated 8 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Extbase
Start date:
2024-04-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Headers with the same name are always overridden when outputting a response in extbase.

// TYPO3\CMS\Extbase\Core\Bootstrap
foreach ($response->getHeaders() as $name => $values) {
    foreach ($values as $value) {
        header(sprintf('%s: %s', $name, $value));
    }
}
// https://www.php-fig.org/psr/psr-7/
// Emit headers iteratively:
foreach ($message->getHeaders() as $name => $values) {
    foreach ($values as $value) {
        header(sprintf('%s: %s', $name, $value), false);
    }
}


Related issues 4 (4 open0 closed)

Related to TYPO3 Core - Bug #105591: ext:felogin does not delete fe_typo_user Cookie on logoutNewTorben Hansen2024-11-13

Actions
Related to TYPO3 Core - Bug #103805: Extbase response headers are not cachedNew2024-05-08

Actions
Related to TYPO3 Core - Bug #102529: Properly support HTTP Status Code 201 within extbaseNew2023-11-27

Actions
Related to TYPO3 Core - Bug #99032: Multiple Set-Cookie-Headers in Extbase-Responses are not sent to browserNew2022-11-09

Actions
Actions #1

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

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

Actions #2

Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83940

Actions #3

Updated by Gerrit Code Review about 1 year ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83940

Actions #4

Updated by Gerrit Code Review 8 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83940

Actions #5

Updated by Gerrit Code Review 8 months ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83940

Actions #6

Updated by Gerrit Code Review 8 months ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83940

Actions #7

Updated by Benni Mack 7 months ago

  • Related to Bug #105591: ext:felogin does not delete fe_typo_user Cookie on logout added
Actions #8

Updated by Benni Mack 5 months ago

  • Related to Bug #103805: Extbase response headers are not cached added
Actions #9

Updated by Benni Mack 5 months ago

  • Related to Bug #102529: Properly support HTTP Status Code 201 within extbase added
Actions #10

Updated by Benni Mack 5 months ago

  • Related to Bug #99032: Multiple Set-Cookie-Headers in Extbase-Responses are not sent to browser added
Actions

Also available in: Atom PDF