Issue #2785: fix — ignore domains ending with a dot.

This commit is contained in:
Steven Black
2024-12-16 20:53:49 -04:00
parent 7c8c1fb1e0
commit 080d276bb7
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -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))