Changes between Version 3 and Version 8 of Ticket #2503


Ignore:
Timestamp:
05/18/2015 05:28:47 PM (4 years ago)
Author:
trev
Comment:

You are right, Filter.fromText("@@http://www.amazon.com/").matches("http://www.amazon.com/", "DOCUMENT", "amazon.com", "false", null) returns true both in Firefox and Chrome. This is legacy code predating filter options, we should remove it.

It actually works the same in Firefox - my bad, looks like I tested on amazon.de.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2503

    • Property Cc trev sebastian added
    • Property Component changed from Unknown to Core
    • Property Summary changed from Some filter ( exception rule ) is not working the same as in Chrome to Inconsistent behavior: $document flag implied for exception rules with protocol included
    • Property Platform changed from Maxthon to Chrome
    • Property Ready set
  • Ticket #2503 – Description

    v3 v8  
    3131=== Expected behaviour === 
    3232The result in Maxthon shall be the same as in Chrome. 
     33 
     34=== Background === 
     35We still have legacy code implying `$document` filter option for exception rules that have a protocol. That backwards compatibility code predates filter options. 
     36 
     37=== What to change === 
     38Drop this backwards compatibility code, the format for document-wide exception rules has been `@@||example.com^$document` for at least five years now.