Project

General

Profile

Bug #2708

setenv.add-response-header adds header twice if starts with X-

Added by flynn about 1 year ago. Updated about 1 year ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2016-01-21
Due date:
% Done:

0%

Missing in 1.5.x:

Description

The following configuration line:

setenv.add-response-header = ( "X-Content-Type-Options" => "nosniff" )

results in adding the header twice:

HTTP/1.1 200 OK
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff

This happens only, if the header starts with X-, all other headers are added only once as expected.

History

#1 Updated by flynn about 1 year ago

Sorry, invalid, can be closed.

(drupal changed it's defaults and adds this header itself now always)

#2 Updated by nitrox about 1 year ago

  • Status changed from New to Invalid

Also available in: Atom