disable server_tokens test until an easy solution is in place

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

@ -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) {

Loading…
Cancel
Save