Multiline paste does not work if duplicated filters, comments or filter list headers are present
Environment
- OS version: /
- Browser version: /
-
Extension version: latest
next
(link) - Last working version: ABP 3.25
Steps to reproduce
- Open Advanced tab
- Copy and paste the following filters:
[filterlist header]
##.hiding_filter
/blocking/filter/*
duplicate
duplicate
! comment
Observed behavior
- input field is not cleared
- the following filters are present in the custom filters table
##.hiding_filter
/blocking/filter/*
duplicate
Expected behavior
- input field should be empty
- the following filters should be present in the custom filters table
##.hiding_filter
/blocking/filter/*
duplicate
! comment
Further information
- might be caused by: #1628 (closed) ?
- unskip the E2E testcase that tests multiline filterlist paste once the fix is merged (LINK)
Edited by Ursa Kacar