-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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: allow lookup of _ names #1167
Labels
Comments
http://golang.org/cl/2290044 Owner changed to [email protected]. Status changed to Started. |
This issue was closed by revision a0a7768. Status changed to Fixed. |
This is not "comment pedantry", it is an error in the code logic. Currently, isDomainName returns false for a domain name like _jabber._tcp.gmail.com whih does exist. I pointed the comments which were misleading but there is a deeper issue in the code. Now that the comments are gone, it is difficult to know what isDomainNameis supposed to do but it is certainly not faithful to its name. |
Is this sufficient? http://golang.org/cl/2353043 |
Issue #1168 has been merged into this issue. |
The standard does say that clients can impose whatever restrictions they choose. It only requires servers to allow arbitrary syntax. I'd like to avoid sending crazy requests on to DNS and incurring the associated delays, failure modes, and so on. I don't want to pass on UTF-8 because what if it's Latin-1 or what if it's supposed to be Punycode? I don't think % and & are going to arise in practice because they would be invalid in a URL or email host name. |
This issue was closed by revision 2408a4b. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by bortzmeyer:
The text was updated successfully, but these errors were encountered: