AdguardTeam / AdguardTeam/AdGuardHome

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

オープン
#8,295 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
needs investigation
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

### Prerequisites

- [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer

- [x] I have searched other issues and found no duplicates

- [x] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [x] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### 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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。