From 44b218313554d7cbd076deeb83aee01a529ba3a4 Mon Sep 17 00:00:00 2001 From: Marcelo Moreira <043456d10a0f8b9e24ebb18fdc141e424ece8b28@cloudflare.com> Date: Sun, 13 Sep 2020 01:45:35 +0200 Subject: [PATCH] bg.js --- addons/urejectCR/bg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/urejectCR/bg.js b/addons/urejectCR/bg.js index 3e2cde70c..607de627b 100644 --- a/addons/urejectCR/bg.js +++ b/addons/urejectCR/bg.js @@ -7,7 +7,7 @@ chrome.webRequest.onResponseStarted.addListener(i => { } let iServer = '?'; i.responseHeaders.forEach(x => { - if (x.name == 'Server' || x.name == 'server') { + if (x.name.toLowerCase() == 'server') { iServer = x.value; } });