ghostery/adblocker

Complete automated tests for Filter#toString

chrmod opened this issue · 2 comments

chrmod commented

Lets be sure that NetworkFilter#toString is able to correctly export all supported filter types.

chrmod commented

when working on #3681 I've noticed some unexpected behaviour - I think simple filter like foo.com^ was converted to something quite longer.

require('@cliqz/adblocker').NetworkFilter.parse('foo.com^').toString()