-
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/http: document the behavior of %2F in url strings #8450
Labels
Milestone
Comments
I'm trying to work around a similar problem. Note that the string "Alice // Well" in your example is technically part of the URL path (and not a query parameter) which means the escaping should behave differently. A space for example should be represented as %20 instead of +, so using url.QueryEscape may not always lead to correct escaping. |
Comment 2 by david.schmiddi.86: But the "+" was the result of the encoder in http://golang.org/pkg/net/url/#URL . http.Get(fmt.Sprintf("https://example.com/search/%s/true", url.QueryEscape(name))) |
cf. issue #5684 |
Isn't this already well documented? |
(Original title mentioned RFC 3986.) |
rsc
changed the title
net/http: document the not compliance of RFC 3986 regarding %2F in url strings
net/http: document the behavior of %2F in url strings
Apr 10, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by david.schmiddi.86:
The text was updated successfully, but these errors were encountered: