Issue Bug Closed

#106888Header x-content-type-options nosniff added twice

Stefan Neufeind 06/16/25, 07:13 updated 08/29/25, 15:29

Description

The header “x-content-type-options: nosniff” is added twice in the response.
First occurence seems to come from the framework, the other is added in .htaccess.

I checked this is the same in 12.4 and main. Should we set it with “replace” instead of “add” in htaccess maybe? Only adding it in the framework imho also feels wrong, since a static file (not delivered through TYPO3) wouldn’t have the header set.

Reviews 0

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