Review main Merged

77019[FEATURE] Add stdWrap to config.additionalHeaders

Christoph Lehmann CR +2 V +2 Easy +40 −1 updated 02/06/23, 20:55

Commit message

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
   }
}

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2