Add more cases to static filtering checklist

This commit is contained in:
Raymond Hill 2020-07-27 10:32:55 -04:00
parent 3df978ffd5
commit 7c63f252d0
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 22 additions and 2 deletions

View File

@ -20,8 +20,17 @@
! valid patterns
a*
|*
||*
*$xhr
|*$xhr
|$xhr
||*$xhr
||$xhr
||*|$xhr
! valid hosts file entries
:: ab
:: AB
:: ab # comment
! valid options
$script,redirect=noop.js
@ -47,6 +56,17 @@ a
|
||
$
*
|*
||*
||*|
! bad hosts file entries
:: a
:: ab/
:: ab/ # comment
::/ ab
:: ab$
! bad regex
/(abc|def/$xhr