-
Notifications
You must be signed in to change notification settings - Fork 15
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
Do not split rules with many domains in the unless-domain
and if-domain
#51
Comments
How will the filters maintainers know about this? |
The only way would be to have a special check in AGLint for this. |
Maybe the apps that has problems with such rules should be warned about it - only AdGuard for iOS and Safari? |
There are lots of rules that are getting discarded when converting them for Safari, it's not realistic to list them all. The problem with this particular case is that the problem can be not with a single rule, but with a multitude of |
Can be printed to the log. |
I actually think we're doing that when debug log is enabled |
Examine |
Tbh, no idea:) |
I've tested on macOS 13.4 and Safari 16.5, and it looks like "unless-domain" and "if-domain" support at least 10000 values. |
unless-domain
unless-domain
and if-domain
~example.org,.....,~example1000.org##banner
rule will be split into several rules in the resulting json. This is plain wrong.Here's what we should do:
unless-domains
The text was updated successfully, but these errors were encountered: