Closed (duplicate)
Project:
Drupal core
Version:
8.4.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2015 at 11:06 UTC
Updated:
11 Oct 2017 at 18:28 UTC
Jump to comment: Most recent
Comments
Comment #2
catchComment #3
catchComment #4
roball commentedMy proposal was to remove the
alwayscondition from Apache'sHeaderdirective, ending up inHeader set X-Content-Type-Options nosniffOtherwise, I get the response header line
X-Content-Type-Options: nosniff, nosniffComment #5
pwolanin commentedI never see the
X-Content-Type-Options: nosniff, nosniffThe D8 core test would be failing if it was happening in the test scenario.
Are you getting that with a contrib module or just stock Drupal core?
Comment #6
neograph734Closely reading the discussion in the other thread leads to #44, where is stated the seckit module implements function _seckit_x_content_type_options that adds this header to Drupal as well.
The goal of the module:
So since this is in core now, I believe it should be removed from seckit (as it no longer required) and this issue is done.
Comment #11
wim leersThis only happens if you are using Apache with
mod_headersinstalled.More details at #2854817: Duplicate X-Content-Type-Options headers both with the value nosniff. Marking this as a duplicate.