Bug #68670
closedDo not let legacy code take precedence over HTTP headers
100%
Description
The code to not overwrite regular headers set by PSR-7 response
is obsolete and should be removed. Legacy code does not have access
to the response object, thus the PSR-7 header list would always be empty.
We also do not want to give legacy code precedence here if our code
explicitly sets some headers.
Also make sure that, if legacy code added some headers, which are also
set in the response object, that the headers are not additionally added
but override the legacy headers.
The only exception is the status code header, which we must allow to
be changed from legacy code for the time being.
Updated by Gerrit Code Review over 9 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 http://review.typo3.org/42161
Updated by Helmut Hummel over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9ed7c08aba443605639ebad29a591c357cdf8f9c.
Updated by Gerrit Code Review over 9 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42351
Updated by Daniel Maier over 9 years ago
- Status changed from Under Review to Closed
Was reopened erroneously.