We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is problem with url.Parse. According to https://tools.ietf.org/html/rfc3986:
reserved = gen-delims / sub-delims gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@" sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
UserInfo should respect '#' character: https://tools.ietf.org/html/rfc3986#section-3.2.1
go version
1.8.3
yes
go env
GOHOSTARCH="amd64" GOOS="linux"
https://play.golang.org/p/QtAItGCPez
username:pass#word
<nil>
The text was updated successfully, but these errors were encountered:
I don't think you are reading that correctly. The spec defines userinfo as:
userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
Note unreserved.
Sorry, something went wrong.
Thanks for your quick answer Yes, I've really messed up here
No branches or pull requests
There is problem with url.Parse. According to https://tools.ietf.org/html/rfc3986:
UserInfo should respect '#' character: https://tools.ietf.org/html/rfc3986#section-3.2.1
What version of Go are you using (
go version
)?1.8.3
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?GOHOSTARCH="amd64"
GOOS="linux"
What did you do?
https://play.golang.org/p/QtAItGCPez
What did you expect to see?
username:pass#word
What did you see instead?
<nil>
The text was updated successfully, but these errors were encountered: