Changes between Version 2 and Version 3 of Ticket #4326


Ignore:
Timestamp:
08/12/2016 01:34:28 PM (3 years ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4326 – Description

    v2 v3  
    2929 
    3030=== Expected behaviour === 
    31 The `||` token does not only represent the protocol part but also any additional subdomain. So for example in Adblock Plus for Firefox and Chrome, `||example.com` matches any of those: `http://example.com`, `https://www.example.com`, `https://a.b.c.example.com`. 
    32  
    33 Hence the `url-filter` in the resulting rule has to look like `"^https?://([^/]+\\.)?example.com"`. 
     31The `||` token does not only represent the protocol part but also any additional subdomain. So for example in Adblock Plus for Firefox and Chrome, `||example.com` matches any of those: `http://example.com`, `https://www.example.com`, `https://a.b.c.example.com`. In order to achieve the same behavior with Content Blockers, the `url-filter` has to look like `"^https?://([^/]+\\.)?example.com"`. 
    3432 
    3533=== Notes ===