disable server_tokens test until an easy solution is in place

pull/1/head
ansuz 3 years ago
parent ef885eed5c
commit 4a147815f6

@ -732,6 +732,7 @@ define([
cb(isHTTPS(trimmedUnsafe) && isHTTPS(trimmedSafe)); cb(isHTTPS(trimmedUnsafe) && isHTTPS(trimmedSafe));
}); });
/*
assert(function (cb, msg) { assert(function (cb, msg) {
setWarningClass(msg); setWarningClass(msg);
$.ajax(cacheBuster('/'), { $.ajax(cacheBuster('/'), {
@ -756,8 +757,7 @@ define([
" header. This information can make it easier for attackers to find and exploit known vulnerabilities. ", " header. This information can make it easier for attackers to find and exploit known vulnerabilities. ",
]; ];
if (family === 'NGINX') { // XXX incorrect instructions for HTTP2. needs a recompile?
if (family === 'NGINX') {
msg.appendChild(h('span', text.concat([ msg.appendChild(h('span', text.concat([
"This can be addressed by setting ", "This can be addressed by setting ",
code("server_tokens off"), code("server_tokens off"),
@ -779,6 +779,7 @@ define([
} }
}); });
}); });
*/
if (false) { if (false) {
assert(function (cb, msg) { assert(function (cb, msg) {

Loading…
Cancel
Save