Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
1401925f5a
|
@ -1579,8 +1579,7 @@ define([
|
||||||
var HSTS = H['strict-transport-security'];
|
var HSTS = H['strict-transport-security'];
|
||||||
|
|
||||||
// check for a numerical value of max-age
|
// check for a numerical value of max-age
|
||||||
// and the use of includeSubDomains
|
if (/max\-age=\d+/.test(HSTS)) {
|
||||||
if (/max\-age=\d+/.test(HSTS) && /includeSubDomains/.test(HSTS)) {
|
|
||||||
return void cb(true);
|
return void cb(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue