mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-10-01 22:06:34 +01:00
Issue #2785: fix — ignore domains ending with a dot.
This commit is contained in:
@@ -846,6 +846,7 @@ class TestNormalizeRule(BaseStdout):
|
||||
"0.3.4.5 example.org/hello/world",
|
||||
"0.0.0.0 https",
|
||||
"0.0.0.0 https..",
|
||||
"0.0.0.0 foo.",
|
||||
]:
|
||||
self.assertEqual(normalize_rule(rule, **kwargs), (None, None))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user