FiltersCompiler
FiltersCompiler copied to clipboard
Allow using `$permissions` rules without URL part
$permissions=join-ad-interest-group=() can work without URL, and /*/ is redundant (like $removeparam=s_cid).
Related to https://github.com/AdguardTeam/FiltersRegistry/blob/e529458be21800609358ce99ff1bcc8bb5b02305/filters/filter_3_Spyware/diff.txt:
! Error: "The rule is too wide, add domain restriction or make the pattern more specific" in the rule: "*.*$permissions=join-ad-interest-group=()\, run-ad-auction=()\, browsing-topics=()"
*.*$permissions=join-ad-interest-group=()\, run-ad-auction=()\, browsing-topics=()
TODO: remove /*/ in https://github.com/AdguardTeam/AdguardFilters/pull/188049/files after update.
@slavaleleka Any news?
no, not even planned to be done in the near future yet
why?