Skip to content

Commit

Permalink
cherry-pick: Fix unsupported regex for QQ blocked rules
Browse files Browse the repository at this point in the history
Updates #3717.

* commit 'ded9842cd7fbbae0c3a55cd1f468ade22cab0d97':
  Fix unsupported regex for QQ blocked rules
  • Loading branch information
ainar-g committed Apr 6, 2022
1 parent 52bc1b3 commit 83fd6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/filtering/blocked.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ var serviceRulesArray = []svc{
}},
{"qq", []string{
// block qq.com and subdomains excluding WeChat domains
"^(?!weixin|wx)([^.]+\\.)?qq\\.com$",
"||qq.com^$denyallow=wx*.qq.com|weixin.qq.com",
"||qqzaixian.com^",
}},
{"wechat", []string{
Expand Down

0 comments on commit 83fd6f9

Please sign in to comment.