Skip to content

remove duplicate lines when importing user filters  #519

@lvmm

Description

@lvmm

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

Please provide ability to remove duplicate lines when importing filters the same way it now works for rules.

A specific URL where the issue occurs

[A specific URL is MANDATORY for issue happening on a web page, even if it happens "everywhere"]

Steps to Reproduce

  1. Open the ublock dashboard
  2. Go to My Filters tab
  3. Export current filters to file
  4. Import filters you've just exported.

Expected behaviour:

All imported lines should be marked as duplicates and ignored. Don't care what will happen with comments and cosmetic empty lines.

Actual behaviour:

All rules are imported and duplicated.

Your environment

  • uBlock Origin version: 1.18.16, firefox-legacy 1.16.4.10
  • Browser Name and version: chrome 72.0.3626.121 and seamonkey 2.53 (wg9s nightly)
  • Operating System and version: windows 10, ubuntu 16.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions