Skip to content
Snippets Groups Projects
Commit b8151562 authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Anja Leichsenring
Browse files

[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.

Example:

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
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77019


Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent d2eb78bd
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment