Fix HSTS/HPKP includeSubDomains and preload being broken in file output.
This commit is contained in:
parent
02e9f5cd23
commit
f8579ee2f7
|
@ -855,19 +855,19 @@ run_http_date() {
|
||||||
includeSubDomains() {
|
includeSubDomains() {
|
||||||
if grep -aiqw includeSubDomains "$1"; then
|
if grep -aiqw includeSubDomains "$1"; then
|
||||||
pr_done_good ", includeSubDomains"
|
pr_done_good ", includeSubDomains"
|
||||||
return 1
|
return 0
|
||||||
else
|
else
|
||||||
pr_litecyan ", just this domain"
|
pr_litecyan ", just this domain"
|
||||||
return 0
|
return -1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
preload() {
|
preload() {
|
||||||
if grep -aiqw preload "$1"; then
|
if grep -aiqw preload "$1"; then
|
||||||
pr_done_good ", preload"
|
pr_done_good ", preload"
|
||||||
return 1
|
|
||||||
else
|
|
||||||
return 0
|
return 0
|
||||||
|
else
|
||||||
|
return -1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue