mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-18 16:20:21 +00:00
Ensure that hostnames without dots are excluded.
This patch fixes #2347.
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -842,6 +842,7 @@ class TestNormalizeRule(BaseStdout):
|
||||
"128.0.0.1",
|
||||
"0.0.0 google",
|
||||
"0.1.2.3.4 foo/bar",
|
||||
"0.0.0.0 https"
|
||||
]:
|
||||
self.assertEqual(normalize_rule(rule, **kwargs), (None, None))
|
||||
|
||||
|
||||
Reference in new issue
Block a user