diff options
author | Sebastin Santy <sebastinssanty@gmail.com> | 2017-03-09 19:29:08 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-03-09 22:57:34 +0100 |
commit | f25ef8dde8327e8190c971b7fb443ba12816bdcf (patch) | |
tree | d5fc16a479025c73c9805498905eb688b26eec62 /Bugzilla | |
parent | a312a33e31d7159cf6cd153eac044e35a8dc38a3 (diff) | |
download | bugzilla-f25ef8dde8327e8190c971b7fb443ba12816bdcf.tar.gz bugzilla-f25ef8dde8327e8190c971b7fb443ba12816bdcf.tar.xz |
Bug 1345238 - CSP: Please avoid using deprecated X-* headers.
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/CGI/ContentSecurityPolicy.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/CGI/ContentSecurityPolicy.pm b/Bugzilla/CGI/ContentSecurityPolicy.pm index 022d49b44..88f2732bc 100644 --- a/Bugzilla/CGI/ContentSecurityPolicy.pm +++ b/Bugzilla/CGI/ContentSecurityPolicy.pm @@ -58,7 +58,7 @@ sub _has_directive { sub header_names { my ($self) = @_; - my @names = ('Content-Security-Policy', 'X-Content-Security-Policy', 'X-WebKit-CSP'); + my @names = ('Content-Security-Policy'); if ($self->report_only) { return map { $_ . '-Report-Only' } @names; } |