From 940d7d3118e2eaf775e5922fdd93a2c2ea0977fb Mon Sep 17 00:00:00 2001 From: creme Date: Fri, 16 Dec 2022 17:44:02 +0100 Subject: [PATCH] relex HSTS header checkup to only require a max age Signed-off-by: creme --- www/checkup/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/checkup/main.js b/www/checkup/main.js index 2b5582a33..1b6e69687 100644 --- a/www/checkup/main.js +++ b/www/checkup/main.js @@ -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); }