Skip to content

Commit

Permalink
Remove escapes on domains
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiltyDolphin committed Nov 22, 2023
1 parent 341d66d commit 6e5a59a
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,37 +49,37 @@
"format.test": {
"rules": [
{
"rule": "format\\.test/test1\\.js",
"rule": "format.test/test1\\.js",
"reason": "Unescaped slash should be allowed.",
"domains": ["<all>"]
},
{
"rule": "format\\.test/[0-9]+/test2\\.js",
"rule": "format.test/[0-9]+/test2\\.js",
"reason": "Simple regexp",
"domains": ["<all>"]
},
{
"rule": "format\\.test/.*/test3\\.js",
"rule": "format.test/.*/test3\\.js",
"reason": "Simple regexp wildcard",
"domains": ["<all>"]
},
{
"rule": "format\\.test/a.*.\\.[c]([de]+)f*g?/test2b\\.js",
"rule": "format.test/a.*.\\.[c]([de]+)f*g?/test2b\\.js",
"reason": "Simple regexp (full CBR), see https://developer.apple.com/documentation/safariservices/creating_a_content_blocker#3030754",
"domains": ["<all>"]
},
{
"rule": "sub1\\.sub2\\.format\\.test/test4\\.js",
"rule": "sub1.sub2.format.test/test4\\.js",
"reason": "With subdomain",
"domains": ["<all>"]
},
{
"rule": "sub1\\.sub2\\.format\\.test/[abc]/test4a\\.js",
"rule": "sub1.sub2.format.test/[abc]/test4a\\.js",
"reason": "With subdomain and regexp",
"domains": ["<all>"]
},
{
"rule": "sub1\\.format\\.test/sub2\\.format\\.test/test4b\\.js",
"rule": "sub1.format.test/sub2\\.format\\.test/test4b\\.js",
"reason": "Domain in rule",
"domains": ["<all>"]
},
Expand Down

0 comments on commit 6e5a59a

Please sign in to comment.