brave / brave-core-crx-packager

Mozilla Public License 2.0
41 stars 35 forks source link

filter out unsupported regex hostnames in cosmetic filters #980

Closed antonok-edm closed 1 month ago

antonok-edm commented 1 month ago

Should resolve the following error for now:

Not publishing a new version of Brave Ad Block Updater due to failure downloading a source: uBlock Origin 2024 Filters could not be converted to iOS content blocking syntax. Reason: Error while parsing [a-z][a-z+.-]*:\/\//^dizipal\\d+\\\.com\$/[:/]: Start of line assertion can only appear as the first term in a filter.
Content Rule List compiling failed: Compiling failed.
Invalid or unsupported regular expression.

I'll investigate the root cause later and make sure adblock-rust is prepared to handle these properly.