mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
Custom filtering rules not working correct #825
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#825
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hdtvspace on GitHub (Jul 22, 2019).
Custom rules
...
||stern.de/gujAd.js$match-case
||commsvc.stern.de^$important
||www.stern.de/gujAd.js$match-case
||commsvc.stern.de^
...
Adguard Home is not blocking the anti adblocker script from commsvc.stern.de or an simple ad script gujAd.js withe the custom rules above. Tried also 0.0.0.0 commsvc.stern.de. But the subdomain commsvc.stern.de is always loaded.
And the webmaster from stern has made a big mistake and delivers the script from a subdomain, easy to block. But adguard home is not blocking it.
Steps to reproduce
Expected behavior
Customs riles are not applied
Actual behavior
The scripts are loaded. Also the safari browser cache is before loading the site cleared.
Screenshot:
Your environment
@hdtvspace commented on GitHub (Jul 23, 2019):
So after an whole restart of the raspberry and the imac the ||commsvc.stern.de^ is working and blocked, but not rules with match-case e.g. ||stern.de/gujAd.js$match-case
The JS file is always loaded.
@ameshkov commented on GitHub (Jul 24, 2019):
DNS server operates with domains, not full URLs.
The only way to filter actual HTTP requests is to implement a proxy. Vote for this feature request if you'd like to have it: #391