Opened on 04/24/2017 at 02:32:41 PM

Closed on 08/29/2019 at 05:43:52 PM

#5175 closed change (rejected)

[emscripten] Reject element hiding filters with effectively empty domain names

Reported by: trev Assignee: hfiguiere
Priority: P2 Milestone:
Module: Core Keywords: closed-in-favor-of-gitlab
Cc: Blocked By:
Blocking: #4122 Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29600641/
https://gitlab.com/eyeo/adblockplus/adblockpluscore/merge_requests/5

Description

Background

We implemented #4450 on master branch but not in Emscripten.

What to change

Parsing should reject element hiding filters with a non-empty domain part that is equivalent to an empty domain. See #4450 for example of such filters. Parsing result should be an InvalidFilter with reason set to filter_invalid_domain. Also, we should add testEmptyElemHideDomains from master branch - it should pass with merely filter.delete() being added.

Attachments (0)

Change History (4)

comment:1 Changed on 11/03/2017 at 08:52:48 PM by hfiguiere

  • Owner set to hfiguiere

comment:2 Changed on 11/21/2017 at 07:03:49 PM by hfiguiere

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:3 Changed on 11/13/2018 at 08:10:00 PM by hfiguiere

  • Review URL(s) modified (diff)

comment:4 Changed on 08/29/2019 at 05:43:52 PM by sebastian

  • Keywords closed-in-favor-of-gitlab added
  • Resolution set to rejected
  • Status changed from reviewing to closed

Sorry, but we switched to GitLab. If this issue is still relevant, please file it again in the new issue tracker.

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from hfiguiere.
 
Note: See TracTickets for help on using tickets.