mirror of
https://github.com/znc/znc.git
synced 2026-07-03 16:31:49 +02:00
Disallow CIDR /00000
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ TEST_F(UserTest, IsHostAllowed) {
|
||||
{"127.0.0.1/33", "127.0.0.1", false},
|
||||
{"::1/129", "::1", false},
|
||||
|
||||
{"::2/00000000000", "::1", true},
|
||||
{"::2/00000000000", "::1", false},
|
||||
{"::2/0a", "::1", false},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user