Weird regex-based filter in EasyList

This is where you should report issues arising from the subscription filters.
Locked
gorhill
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Weird regex-based filter in EasyList

Post by gorhill »

Spotted this filter in EasyList:

Code: Select all

! Block http and https popups
/http*.:\/\/.*/$popup,third-party,domain=35.188.59.75|adf.ly|daclips.in|...
It's a weird regex, and given the comment, should it instead be:

Code: Select all

/^https?:\/\//$popup,third-party,domain=35.188.59.75|adf.ly|daclips.in|...
?

Edit 1: Found one more like this: /http*.:\/\/.*[?|=|&|%|#|+].*/$popup,domain=femefun.com should be /^https?:\/\/.*[?|=|&|%|#|+].*/$popup,domain=femefun.com?

Edit 2: Just search for /http*.:
User avatar
smed79
Liste AR/FR Author
Liste AR/FR Author
Posts: 15839
Joined: Sun Jan 17, 2010 4:00 am
Location: EasyList Forum

Post by smed79 »

I requested the change when the filter has been added the first time (one year ago)
https://github.com/easylist/easylist/co ... 57e6ffR168
•► Read RULES / Use forum Search
••► Don't post clickable links
•••►Upload screenshots at imgbb.com
Locked