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: url.Parse allows spaces in the host. #11302

Closed
crhino opened this issue Jun 19, 2015 · 3 comments
Closed

net/url: url.Parse allows spaces in the host. #11302

crhino opened this issue Jun 19, 2015 · 3 comments

Comments

@crhino
Copy link

crhino commented Jun 19, 2015

http://play.golang.org/p/LqMUDBV17m

From my understanding of RFC 3986, spaces are not allowed in the host name. Any help clarifying whether this is intended behavior or not would be great.

@ianlancetaylor ianlancetaylor added this to the Go1.6 milestone Jun 19, 2015
@bradfitz
Copy link
Contributor

Related, or dup: #11206

@rsc
Copy link
Contributor

rsc commented Dec 4, 2015

Accepting space seems like a mistake. Will try to not do that and see how much complaint we get.

@gopherbot
Copy link
Contributor

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

@rsc rsc closed this as completed in 617c93c Dec 11, 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

5 participants