diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index c40ea3eaf..096dffb44 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -1574,6 +1574,12 @@ FilterParser.prototype.parse = function(raw) { s = '*'; } + // https://github.com/gorhill/uBlock/issues/1047 + // Hostname-anchored makes no sense if matching all requests. + if ( s === '*' ) { + this.hostnameAnchored = false; + } + // plain hostname? this.hostnamePure = this.hostnameAnchored && reHostnameRule.test(s);