AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Incorrect pattern matching

Open IRainman opened this issue 1 month ago • 2 comments

Prerequisites

Platform (OS and CPU architecture)

Windows, AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

On a router, DHCP is handled by the router

AdGuard Home version

Version: v0.107.79

Action

Add https://cebeerre.github.io/dnsblocklists/NRD/nrd7_asterisk.txt and now many sites incorrect blocking.

Expected result

*.githubusercontent.co

should NOT block

*.githubusercontent.com

Actual result

Image

*.githubusercontent.co

block

*.githubusercontent.com

And this is incorrect.

Additional information and/or screenshots

No response

IRainman avatar Oct 08 '26 21:10 IRainman

Hello. AdGuard Home does not support the syntax used in this file. The list is written in Blocky's wildcard dialect - its header says “Syntax: Domains Wildcard - Blocky (v0.23 or newer).” In that dialect, *.domain means “the domain and all its subdomains.” AdGuard Home does not support this syntax. You can use the rule ||githubusercontent.co^ to block the domain and its subdomains.

sofvaskina avatar Oct 09 '26 09:10 sofvaskina

The issue has been closed, its implementation is not planned.

adguard-bot avatar Oct 09 '26 09:10 adguard-bot