mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-25 17:56:34 +08: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. |
||
---|---|---|
.. | ||
addresses_fuzz.go | ||
addresses_test.go | ||
addresses.go | ||
builtins_test.go | ||
builtins.go | ||
directives_test.go | ||
directives.go | ||
httptype_test.go | ||
httptype.go | ||
options_test.go | ||
options.go | ||
pkiapp.go | ||
serveroptions.go | ||
tlsapp_test.go | ||
tlsapp.go |