Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: document that SplitHostPort and JoinHostPort never treat non-IP literals enclosed in square brackets #18060

Closed
mikioh opened this issue Nov 27, 2016 · 1 comment

Comments

@mikioh
Copy link
Contributor

mikioh commented Nov 27, 2016

As per #18059, we need to document that both SplitHostPort and JoinHostPort never treat non-IP literals enclosed in square brackets, because the output of JoinHostPort must be able to be used for connection setup functions and methods; net.Dial("tcp", "[name%zone]:8080") is not defined behavior and hard to solve the ambiguity of "name%zone".

@mikioh mikioh added this to the Go1.9 milestone Nov 27, 2016
@gopherbot
Copy link

CL https://golang.org/cl/40510 mentions this issue.

@golang golang locked and limited conversation to collaborators Apr 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants