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: Parse doesn't support RFC 6847: literal IPv6 address w/ zone in URI #6530
Labels
Milestone
Comments
yichengq
added a commit
to yichengq/etcd
that referenced
this issue
Oct 5, 2015
We use url.ParseQuery to parse names-to-urls string, but it has side effect that unescape the string. If the initial-cluster string has ipv6 which contains `%25`, it will unescape it to `%` and make further url parse failed. Fix it by modifiying the parse process. Go1.4 doesn't support literal IPv6 address w/ zone in URI(golang/go#6530), so we only enable tests in Go1.5+.
yichengq
added a commit
to yichengq/etcd
that referenced
this issue
Oct 5, 2015
We use url.ParseQuery to parse names-to-urls string, but it has side effect that unescape the string. If the initial-cluster string has ipv6 which contains `%25`, it will unescape it to `%` and make further url parse failed. Fix it by modifiying the parse process. Go1.4 doesn't support literal IPv6 address w/ zone in URI(golang/go#6530), so we only enable tests in Go1.5+.
yichengq
added a commit
to yichengq/etcd
that referenced
this issue
Oct 15, 2015
We use url.ParseQuery to parse names-to-urls string, but it has side effect that unescape the string. If the initial-cluster string has ipv6 which contains `%25`, it will unescape it to `%` and make further url parse failed. Fix it by modifiying the parse process. Go1.4 doesn't support literal IPv6 address w/ zone in URI(golang/go#6530), so we only enable tests in Go1.5+.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Attachments:
The text was updated successfully, but these errors were encountered: