mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
Issue #2863: fix — exclude domains with underscores in the domain name.
This commit is contained in:
@@ -847,6 +847,7 @@ class TestNormalizeRule(BaseStdout):
|
||||
"0.0.0.0 https",
|
||||
"0.0.0.0 https..",
|
||||
"0.0.0.0 foo.",
|
||||
"0.0.0.0 this_that.com",
|
||||
]:
|
||||
self.assertEqual(normalize_rule(rule, **kwargs), (None, None))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user