Bin: Analyse-headers: makes includesubdomains check case insensitive
This commit is contained in:
parent
acc8707055
commit
f5506ada59
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue