Filter list headers can be added via pasting multiline filters
When pasting multiple filters, filterlist header is only dropped & will trigger an error, if it is the first in line.
This is a regression compared to current ABP release 3.5. In 3.5, filter headers get ignored (=dropped) upon saving & no error is shown.
Steps to reproduce
- Open Advanced tab in desktop settings page.
- Paste the following custom filters:
No error is shown and both filters are added to the custom filters table
- ?? Error message
Filter list headers aren't allowed hereshown. (still some discussion about showing that error going on here: #454 (comment 178584297))
- Filterlist header should not be added to the filter list table.
- Valid filters should be added to the filter list table
If the header filter is in the first line when pasting multiple filters, error is shown, and only the valid filter is added to the filters table.