Merge remote-tracking branch 'origin/main'

This commit is contained in:
David Benque 2022-12-21 14:34:17 +00:00
commit 1401925f5a
1 changed files with 1 additions and 2 deletions

View File

@ -1579,8 +1579,7 @@ define([
var HSTS = H['strict-transport-security'];
// 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)) {
return void cb(true);
}