From 2ad2b53b49145d3e2f98bb34378ad4474f120760 Mon Sep 17 00:00:00 2001 From: Michelle Brown <043456d10a0f8b9e24ebb18fdc141e424ece8b28@cloudflare.com> Date: Sun, 13 Sep 2020 01:43:23 +0200 Subject: [PATCH] bg.js --- addons/urejectFX/bg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/urejectFX/bg.js b/addons/urejectFX/bg.js index 08a50951..c9a841e6 100644 --- a/addons/urejectFX/bg.js +++ b/addons/urejectFX/bg.js @@ -7,7 +7,7 @@ browser.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; } });