Skip to main content

Revert "[FEATURE] Add stdWrap to config.additionalHeaders"

This reverts commit b8151562dc70330f1adfaf4ca56765d6eadc59a6.

Reason for revert:
Adding stdWrap to TS top-level 'config' object gives
headaches with fully-cached page access.
ContentObjectRenderer is not available in this context,
so COR->stdWrap() fails.

Change-Id: I895ea267da31845660dd07b6f8cfe50d0c5cef69
Resolves: #99858
Related: #99340
Releases: main
Tested-by: Anja Leichsenring <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Stefan Bürk <>
Tested-by: Nikita Hovratov <>
Reviewed-by: Nikita Hovratov <>
Tested-by: Oliver Bartsch <>
Tested-by: core-ci <>
Reviewed-by: Christoph Lehmann <>
Reviewed-by: Stefan Bürk <>
Reviewed-by: Oliver Bartsch <>
Tested-by: Christian Kuhn <>
Tested-by: Christoph Lehmann <>
Reviewed-by: Christian Kuhn <>

[FEATURE] Add stdWrap to config.additionalHeaders

StdWrap properties have been added to the `header` directive in `config.additionalHeaders`.

It is now possible to sent dynamic HTTP headers with TypoScript, especially headers that contain paths to extension files.


config.additionalHeaders {
10 {
header = link: <{path : EXT:site/Resources/Public/Fonts/icon.woff2}>; rel=preload; as=font; crossorigin
header.insertData = 1

Resolves: #99340
Releases: main
Change-Id: I38e743910b8ae9db09c5d685fc8845d9411f01ae
Tested-by: Anja Leichsenring <>
Reviewed-by: Benni Mack <>
Tested-by: core-ci <>
Tested-by: Benni Mack <>
Reviewed-by: Anja Leichsenring <>