SafariConverterLib icon indicating copy to clipboard operation
SafariConverterLib copied to clipboard

Some rules broke Safari Content Blocker

Open ivan-ilin opened this issue 4 years ago • 2 comments

Safari ContentBlockerManager can not load json, generated by the converter. It returns the error "Rule list compilation failed: Invalid or unsupported regular expression."

rules: ||gamer.no/?module=Tumedia\DFProxy\Modules^

||xyz^$third-party,script,xmlhttprequest,domain=~anidub.com|~animedia.pro|~animeheaven.ru|~app.element.io|~assistir-filme.biz|~avtomaty-i-bonusy.com|~chelentano.top|~coomeet.com|~crackstreams.com|~crackstreams.ga|~csgoreports.com|~cvid.kiev.ua|~estream.to|~europixhd.io|~films.hds-stream.com|~funtik.tv|~getvi.tv|~hanime.tv|~hentaiz.org|~herokuapp.com|~infoua.biz|~jokehd.com|~jokerswidget.com|~kinobig.me|~kinoguru.be|~kinoguru.me|~kristinita.ru|~live-golf.stream|~lookbase.xyz|~magicfilm.net|~mail.google.com|~map-a-date.cc|~matchat.online|~mikeamigorein.xyz|~miranimbus.ru|~my.mail.ru|~nccg.ru|~newdeaf.club|~newdmn.icu​|~onmovies.se|~playjoke.xyz|~roadhub.ru|~roblox.com|~sextop.net|~soccer365.ru|~soonwalk.net|~sportsbay.org|~streetbee.io|~streetbee.ru|~telerium.club|~telerium.live|~uacycling.info|~uploadedpremiumlink.net|~vk.com|~vmeste.tv|~web.app

/g\.alicdn\.com\/mm\/yksdk\/0\.2\.\d+\/playersdk\.js/>>>1111.51xiaolu.com/playersdk.js>>>>keyword=playersdk

ivan-ilin avatar Dec 29 '20 14:12 ivan-ilin

@tvinzz ideally, I'd like us to have a unit-test build that tries to compile all our filter lists and checks if Safari is able to load them.

We may need to create a separate "test app" for that, though. @ivan-ilin is that possible?

ameshkov avatar Dec 29 '20 17:12 ameshkov

Not reproduced with

||gamer.no/?module=Tumedia\DFProxy\Modules^

Removed.

Alex-302 avatar Sep 21 '22 18:09 Alex-302