-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
correctly handle domain + subdomain options when one is negated #5
Labels
bug
Something isn't working
Comments
Decided the current handling of looking at eTLD+1 is not correct and need to implement proper subsetting |
Just making sure, eTLD+1 should still be used for source tab and primary URL comparisons for the |
Updated example checked against uBlock Origin:
|
AndriusA
pushed a commit
that referenced
this issue
May 8, 2019
…bsetting cases, mirroring uBlock Origin behaviour. I.e. in the case of filter `adv$domain=~example.com|foo.example.com` and request URL = `http://example.net/adv` it does not match when issued from: - http://example.com - http://foo.example.com - http://subfoo.foo.example.com - http://bar.example.com - http://anotherexample.com Closes #5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Examples:
adv$domain=example.com|~foo.example.com
should match:http://example.net/adv
from sourcehttp://example.com
but not match:
http://example.net/adv
from sourcehttp://foo.example.com
http://example.net/adv"
, from sourcehttp://www.foo.example.com
adv$domain=~example.com|foo.example.com
should match:http://example.net/adv
from sourcehttp://foo.example.com
http://example.net/adv"
, from sourcehttp://www.foo.example.com
but not match:
http://example.net/adv
from sourcehttp://example.com
The text was updated successfully, but these errors were encountered: