fix a typo in the newest checkup test

This commit is contained in:
ansuz 2022-12-16 15:58:19 +05:30
parent 505b42f740
commit 0231fc684d
1 changed files with 2 additions and 2 deletions

View File

@ -900,7 +900,7 @@ define([
.filter(Boolean)
.forEach(line => {
line.replace(/([^:]+):(.*)/, (all, key, value) => {
H[key] = value;
H[key] = value.trim();
});
});
return H;
@ -1580,7 +1580,7 @@ define([
// check for a numerical value of max-age
// and the use of includeSubDomains
if (/max\-age=\d+/.test(HSTS) && /includeSubdomains/.test(HSTS)) {
if (/max\-age=\d+/.test(HSTS) && /includeSubDomains/.test(HSTS)) {
return void cb(true);
}