Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deal with URLs with literal IPv6 addresses (#645)
Recent versions of Go have started enforcing the usage of brackets in URLs with literal IPv6 addresses. This change prevents the attempt to resolve an address in the form [address]. URL.Hostname() takes care of striping the brackets. Signed-off-by: André Cruz <[email protected]>
- Loading branch information