mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 06:03:48 +03:00
93a7a45e7e
The `net.JoinHostPort()` function has some naiive logic for handling IPv6, it just checks if the host part has a `:` and if so it wraps the host part with `[ ]` but this causes our network type prefix to get wrapped as well, which is invalid for `caddy.NetworkAddress`. Instead, we can just concatenate the host and port manually here to avoid this side-effect. |
||
---|---|---|
.. | ||
caddyfile_adapt | ||
testdata | ||
autohttps_test.go | ||
caddyfile_adapt_test.go | ||
caddyfile_test.go | ||
handler_test.go | ||
map_test.go | ||
reverseproxy_test.go | ||
sni_test.go | ||
stream_test.go |