From 36711a7c0761c6eecb8c7f7f9724cba6d1cc2994 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Tue, 14 Apr 2020 09:10:59 -0400 Subject: [PATCH] Fix `denyallow` thrown away with pure hostname patterns --- src/js/static-net-filtering.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index 2950116b6..83077df70 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -3006,6 +3006,7 @@ FilterContainer.prototype.compile = function(raw, writer) { if ( parsed.isPureHostname && parsed.domainOpt === '' && + parsed.denyAllow === '' && parsed.dataType === undefined ) { parsed.tokenHash = this.dotTokenHash;