Add check for the Expect-CT header

This commit adds a check for the Expect-CT header to run_more_flags().
This commit is contained in:
David Cooper 2017-10-30 11:48:48 -04:00 committed by GitHub
parent b9723424e7
commit ad6cde996a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2315,7 +2315,7 @@ run_cookie_flags() { # ARG1: Path
run_more_flags() {
local good_flags2test="X-Frame-Options X-XSS-Protection X-Content-Type-Options Content-Security-Policy X-Content-Security-Policy X-WebKit-CSP Content-Security-Policy-Report-Only"
local good_flags2test="X-Frame-Options X-XSS-Protection X-Content-Type-Options Content-Security-Policy X-Content-Security-Policy X-WebKit-CSP Content-Security-Policy-Report-Only Expect-CT"
local other_flags2test="Access-Control-Allow-Origin Upgrade X-Served-By X-UA-Compatible Referrer-Policy X-UA-Compatible"
local f2t line
local first=true