From 4a147815f6b7cdd13bd5b74ad90108f5bf315878 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 25 Jun 2021 11:52:24 +0530 Subject: [PATCH] disable server_tokens test until an easy solution is in place --- www/checkup/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/checkup/main.js b/www/checkup/main.js index 2639ff156..732197a2d 100644 --- a/www/checkup/main.js +++ b/www/checkup/main.js @@ -732,6 +732,7 @@ define([ cb(isHTTPS(trimmedUnsafe) && isHTTPS(trimmedSafe)); }); +/* assert(function (cb, msg) { setWarningClass(msg); $.ajax(cacheBuster('/'), { @@ -756,8 +757,7 @@ define([ " header. This information can make it easier for attackers to find and exploit known vulnerabilities. ", ]; - - if (family === 'NGINX') { + if (family === 'NGINX') { // XXX incorrect instructions for HTTP2. needs a recompile? msg.appendChild(h('span', text.concat([ "This can be addressed by setting ", code("server_tokens off"), @@ -779,6 +779,7 @@ define([ } }); }); +*/ if (false) { assert(function (cb, msg) {