Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[!!!][TASK] Remove typoscript option config.disableCharsetHeader
This option is obsolete nowadays, as PSR-7 is setting the headers at the end of the script / when emitting a Response, this way the header can be modified at any time. Resolves: #97550 Releases: main Change-Id: I0602e4fd0a20461d49a554f66f36442894e96fd4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74518 Tested-by: core-ci <typo3@b13.com> Tested-by: Georg Ringer <georg.ringer@gmail.com> Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: Josef Glatz <josefglatz@gmail.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Benni Mack <benni@typo3.org>
- Loading branch information
Showing
5 changed files
with
50 additions
and
24 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
...gelog/12.0/Breaking-97550-TypoScriptOptionConfigdisableCharsetHeaderRemoved.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.. include:: /Includes.rst.txt | ||
|
||
.. _breaking-97550-1651697278 | ||
======================================================================== | ||
Breaking: #97550 - TypoScript option config.disableCharsetHeader removed | ||
======================================================================== | ||
|
||
See :issue:`97550` | ||
|
||
Description | ||
=========== | ||
|
||
The TypoScript flag :ts:`config.disableCharsetHeader` has been completely removed | ||
from TYPO3 Core. | ||
|
||
This option was used to avoid sending HTTP headers of type "Content-Type" to | ||
the client. This flag was mainly used to overcome a technical limitation to | ||
override the Content-Type information back in TYPO3 v4.x. | ||
|
||
|
||
Impact | ||
====== | ||
|
||
TYPO3 now always sends the `Content-Type` header to the client in the TYPO3 | ||
Frontend. | ||
|
||
|
||
Affected installations | ||
====================== | ||
|
||
TYPO3 installations having this option enabled via TypoScript. | ||
|
||
|
||
Migration | ||
========= | ||
|
||
It is not needed to set this option. Even when Extbase plugins return JSON-based | ||
Responses, the Content-Type header is already modified. | ||
|
||
In special cases, when custom headers are required, it is possible to modify | ||
the headers via a PHP-based PSR-15 middleware, or via TypoScript with | ||
"config.additionalHeaders". | ||
|
||
.. index:: TypoScript, NotScanned, ext:frontend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters