1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

Fix denyallow thrown away with pure hostname patterns

This commit is contained in:
Raymond Hill 2020-04-14 09:10:59 -04:00
parent ab324b1374
commit 36711a7c07
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -3006,6 +3006,7 @@ FilterContainer.prototype.compile = function(raw, writer) {
if (
parsed.isPureHostname &&
parsed.domainOpt === '' &&
parsed.denyAllow === '' &&
parsed.dataType === undefined
) {
parsed.tokenHash = this.dotTokenHash;