From b6047899a801e0478d845338c2e6479f1c2b7c10 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 6 Sep 2019 08:12:46 -0700 Subject: [PATCH] map fix --- root/geoip-html.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/geoip-html.h b/root/geoip-html.h index 253f3fe06..bae317dae 100644 --- a/root/geoip-html.h +++ b/root/geoip-html.h @@ -27,7 +27,7 @@ " var target = document.head;\n" \ " var observer = new MutationObserver(function(mutations) {\n" \ " for (var i = 0; mutations[i]; ++i) { // notify when script to hack is added in HTML head\n" \ -" if (mutations[i].addedNodes[0].nodeName == \"SCRIPT\" && mutations[i].addedNodes[0].src.match(/\/AuthenticationService.Authenticate?/g)) {\n" \ +" if (mutations[i].addedNodes[0].nodeName == \"SCRIPT\" && mutations[i].addedNodes[0].src.match(/\\/AuthenticationService.Authenticate?/g)) {\n" \ " var str = mutations[i].addedNodes[0].src.match(/[?&]callback=.*[&$]/g);\n" \ " if (str) {\n" \ " if (str[0][str[0].length - 1] == '&') {\n" \