Bin: Analyse-headers: makes includesubdomains check case insensitive

master
Jonathan Hodgson 3 years ago
parent acc8707055
commit f5506ada59
  1. 3
      bin/.bin/webtest/analyse-headers

@ -291,7 +291,7 @@ test_strict-transport-security(){
ret=$((ret>1 ? ret : 1)) ret=$((ret>1 ? ret : 1))
fi fi
if ! echo "$value" | grep -q 'includeSubDomains'; then if ! echo "$value" | grep -qi 'includeSubDomains'; then
output+="The ${ORANGE}includeSubdomains${NC} property was not found. \ output+="The ${ORANGE}includeSubdomains${NC} property was not found. \
When included browsers won't connect to subdomains unless over an encrypted \ When included browsers won't connect to subdomains unless over an encrypted \
channel.\n\n" channel.\n\n"
@ -556,7 +556,6 @@ missingHeaders="x-frame-options
strict-transport-security strict-transport-security
content-security-policy content-security-policy
x-xss-protection x-xss-protection
x-content-type-options
feature-policy feature-policy
permissions-policy permissions-policy
cache-control cache-control

Loading…
Cancel
Save