Changes between Version 7 and Version 8 of Ticket #5325


Ignore:
Timestamp:
07/08/2017 06:10:49 AM (3 years ago)
Author:
mjethani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5325 – Description

    v7 v8  
    11=== Background === 
    2 Currently `abp2blocklist` will convert `example.co^` into `example\.co` and `example.co^hello` into `example\.co.hello`. This will match `example.co` as well as `example.com`, which is wrong. Based on the [https://adblockplus.org/filters#separators filters documentation], the correct patterns to generate are `example\.co([^.%A-Za-z0-9_].*)?$` and `example\.co[^.%A-Za-z0-9_]hello` respectively. 
     2Currently `abp2blocklist` will convert `example.co^` into `example\.co` and `example.co^hello` into `example\.co.hello`. This will match `example.co` as well as `example.com`, which is wrong. Based on the [https://adblockplus.org/filters#separators filters documentation], the correct patterns to generate are `example\.co([^-_.%A-Za-z0-9].*)?$` and `example\.co[^-_.%A-Za-z0-9]hello` respectively. 
    33 
    44=== What to change ===