AdguardTeam / AdguardTeam/urlfilter

Some Comments Break Filtering

未關閉
#9 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Go
星號
116
分支
27
PR 合併指標
30 天內沒有已合併 PR

描述

@Cybo1927 commented on [Fri Oct 23 2020](https://github.com/AdguardTeam/AdGuardHome/issues/2214)

### Prerequisites

Please answer the following questions for yourself before submitting an issue. **YOU MAY DELETE THE PREREQUISITES SECTION.**

- [x] I am running the latest version
- [ ] I checked the documentation and found no answer
- [ ] I checked to make sure that this issue has not already been filed

### Issue Details

* **Version of AdGuard Home server:**
* 0.103.3
* **How did you setup DNS configuration:**
* System
* **If it's a router or IoT, please write device model:**
*
* **Operating system and version:**
* openSUSE Tumbleweed x86_64 (Kernel: 5.8.14-1-default)

### Expected Behavior
When you have a website blacklisted which also has a comment (such as, `||grabify.link #Comment`) it should still filter the domain

### Actual Behavior
The blocking is bypassed because of the comment

### Screenshots

Screenshot:

https://i.imgur.com/kFkXPmY.png

https://i.imgur.com/pu9oEDp.png

### Additional Information
It works with filters in non adblock syntax such as `https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt`

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。