mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-15 23:18:04 +00:00
Issue #2785: fix — ignore domains ending with a dot.
This commit is contained in:
2 files changed
+6
-1
No files matched your search
@@ -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