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
1 changed files with 1 additions and 0 deletions

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;