mirror of
https://github.com/coredns/coredns.git
synced 2026-07-11 18:20:10 -04:00
fix: accept scoped IPv6 addresses in transfer targets (#8204)
Signed-off-by: immanuwell <pchpr.00@list.ru>
This commit is contained in:
committed by
GitHub
parent
69e7a4be73
commit
45a20ddcf1
@@ -103,6 +103,8 @@ func TestParseHostPort(t *testing.T) {
|
||||
{"8.8.8.8:", "8.8.8.8:53", false},
|
||||
{"8.8.8.8::53", "", true},
|
||||
{"resolv.conf", "", true},
|
||||
{"fe80::1%ens3", "[fe80::1%ens3]:53", false},
|
||||
{"[fd01::1%ens3]:153", "[fd01::1%ens3]:153", false},
|
||||
}
|
||||
|
||||
for i, tc := range tests {
|
||||
|
||||
Reference in New Issue
Block a user