Issue Bug New Orphaned

#96294PageContentErrorHandler ignores configured additionalHeaders

Marc Willmann 12/08/21, 17:08 updated 01/29/25, 08:39

Description

When using a page e.g. as 404 error page the in TypoScript configured additionalHeaders are ignored and not set. Most likely these headers are lost when fetching the internal error page via HTTP and deliver the result to the client.

This behaviour was detected in TYPO3 10LTS, but is the very same in 11LTS.

TS:

page.config.additionalHeaders.10.header = X-Powered-By: nothing

works fine on every page, except the error pages.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] PageContentErrorHandler ignores configured additionalHeaders Resolves: #96294 Releases: main