-
Notifications
You must be signed in to change notification settings - Fork 975
Custom filters block resource too strictly #6883
Comments
thanks @luixxiul will investigate |
@luixxiul I took a long look at this today - and I think at least part of issue is caused from is the placement of wildcards in the filters. I think there may be some conflicts between our default lists and regional lists. I think @bbondy may have pinged me about this a while back, and I think I may have made some inaccurate assumptions about how the lists were handled regionally at the time. When I start pre-pending wildcards to the custom filters play with character casing in the filter rules, I get unexpected results. For example,
The filters are treated as if they have a wildcard before and after the filter, unless character separators or other syntax are applied. It looks like, by adding the wildcard in advance, if the string that follows is all lower case, or possibly matches an existing rule (i.e. @bbondy @SergeyZhukovsky
Mainly, how conflicts are handled across lists, and what list takes priority. If a regional list has a match or conflict with the privacy protection list, and then something like a wildcard is pre-pended, how is that throwing off the blocking? Things like that. @bbondy if some of the above are unknowns w/the addition of the regional lists, that's totally cool too. I just need to know status so I can know which different test scenarios I should throw in the mix. |
Thanks for investigation, appreciate that 😆 |
@lukemulks I feel youtube ads are not blocked because of that issue with regex and character casing, wdyt? Is this totally different stuff? |
@lukemulks I think this bit you: |
let me know if I should prioritize that higher |
Describe the issue you encountered:
#6850 (comment)
Platform (Win7, 8, 10? macOS? Linux distro?): macOS
Brave Version (revision SHA): f682695
Steps to reproduce:
*/RealMedia/
following Youslist (Korean adblock list) block CSS and images #6850 (comment)Actual result: every external resource is blocked
Expected result: nothing would be blocked
Extra QA steps:
Any related issues:
The text was updated successfully, but these errors were encountered: