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/url: percent encoded characters are not allowed in authority section #7991

Closed
DanielMorsing opened this issue May 14, 2014 · 1 comment
Closed

Comments

@DanielMorsing
Copy link
Contributor

An alternative way of representing unicode hostnames which aren't meant for DNS lookup
is to encode the host as a UTF-8 string and then percent encode the octets outside of
the US-ASCII range. Currently the net/url parser bails when it encounters percent
encoding inside the host section. 

The relevant section of RFC 3986 is 3.2.2.
@gopherbot
Copy link

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

@rsc rsc closed this as completed in a6869d1 Dec 7, 2015
@golang golang locked and limited conversation to collaborators Dec 14, 2016
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

4 participants