Merge pull request #1453 from mkauschi/add-cache-control-header-check

Check for the Cache-Control and Pragma header
This commit is contained in:
Dirk Wetter 2020-01-16 16:25:18 +01:00 committed by GitHub
commit 0691dc1bf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3035,7 +3035,7 @@ run_cookie_flags() { # ARG1: Path
run_security_headers() {
local good_header="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_header="Access-Control-Allow-Origin Upgrade X-Served-By Referrer-Policy X-UA-Compatible"
local other_header="Access-Control-Allow-Origin Upgrade X-Served-By Referrer-Policy X-UA-Compatible Cache-Control Pragma"
local header header_output
local first=true
local spaces=" "