#106888Header x-content-type-options nosniff added twice
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.