0 byte (\000) seems to cause domain matchig error

Author: xLogeCreated Mar 13, 2026Updated Sep 29, 2026
Labelsneeds investigationPriority: P4

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Docker

Setup

On one machine

AdGuard Home version

v0.107.72

Action

So I just saw in my logs that iahwpf-dnsotls-ds.metric.gstatic.com got blocked by the rule ||metric.gstatic.com^. But then it requested q\000enhk-dnsotls-ds.metric.gstatic.com and no block no nothing, resolved ip, maybe this is a bug caused by the \000 (0 byte) or the backslash in general.

Expected result

It should have blocked q\000enhk-dnsotls-ds.metric.gstatic.com like normal.

Actual result

q\000enhk-dnsotls-ds.metric.gstatic.com was not blocked.

Additional information and/or screenshots

Image