-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
A case that a custom RegExp rule doesn't work #3208
Comments
No blocker will block a whole page with such a filter. Use the |
I am confused. According to the documentation, strict blocking is default. For example, the rules Additionally, using same test method, the rule |
Yes, there is a heuristic in place so that filters like those appearing in malware lists are wholly blocked, while filters which match beyond the hostname are not wholly blocked, to avoid tiresome false positives. The current heuristic is the result of many discussions about the original implementation which was to block as soon as there was a match. The |
You mean that a rule blocking a domain defaults to strict blocking, while a rule that blocks a specific path and all RegExp rules doesn't? Is there a more comprehensive documentation about this? And the issue of 3F that the RegExp rule |
That is unexpected, I have to investigate. |
Ok, the explanation for the second case is two-fold:
So these two things need to be fixed. |
Why should the whole URL be converted to lowercase, rather than just the scheme and domain name? Most parts of a URL are case-sensitive. |
Because by default ABP's filter syntax is case-insensitive -- one needs to use |
Steps for anyone to reproduce the issue
/^https?://(?:\w+[.])?youtube[.]com/user/julica138(?=[/?#]|$)/
https://www.youtube.com/user/julica138
Your settings
The text was updated successfully, but these errors were encountered: