mirror of
https://github.com/traefik/traefik.git
synced 2026-06-09 08:43:26 -04:00
Fix IPv6 urls to comply with Go 1.26
See also https://go.dev/doc/go1.26#neturlpkgneturl
This commit is contained in:
parent
14ce87684a
commit
fe9d47f5ef
2 changed files with 2 additions and 2 deletions
|
|
@ -945,7 +945,7 @@ func Test_addRoute(t *testing.T) {
|
|||
desc: "Host IPv6",
|
||||
rule: "Host(`10::10`)",
|
||||
expected: map[string]int{
|
||||
"http://10::10/foo": http.StatusOK,
|
||||
"http://[10::10]/foo": http.StatusOK,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ func TestMuxer(t *testing.T) {
|
|||
desc: "Host IPv6",
|
||||
rule: "Host(`10::10`)",
|
||||
expected: map[string]int{
|
||||
"http://10::10/foo": http.StatusOK,
|
||||
"http://[10::10]/foo": http.StatusOK,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue