mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
Correct 2nd Iter: Ignore subject with slashes (/).
Upon checking the lastest release after merging #2433, I noticed that some subjects with slashes goes through. This patch fixes that by ignoring subjects which contains slashes.
This commit is contained in:
@@ -843,6 +843,7 @@ class TestNormalizeRule(BaseStdout):
|
||||
"::1",
|
||||
"0.0.0.0 128.0.0.2",
|
||||
"0.1.2.3 foo/bar",
|
||||
"0.3.4.5 example.org/hello/world",
|
||||
"0.0.0.0 https",
|
||||
"0.0.0.0 https..",
|
||||
]:
|
||||
|
||||
Reference in New Issue
Block a user