Commit c2fb457e authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

net/url: fix RFC typo in comments

Change-Id: I04ed7e5ab992c1eb3528432797026d0c7d2818f1
Reviewed-on: https://go-review.googlesource.com/17894Reviewed-by: default avatarRuss Cox <rsc@golang.org>
parent 5de3ff26
...@@ -332,7 +332,7 @@ var urltests = []URLTest{ ...@@ -332,7 +332,7 @@ var urltests = []URLTest{
}, },
"", "",
}, },
// host subcomponent; IPv6 address with zone identifier in RFC 6847 // host subcomponent; IPv6 address with zone identifier in RFC 6874
{ {
"http://[fe80::1%25en0]/", // alphanum zone identifier "http://[fe80::1%25en0]/", // alphanum zone identifier
&URL{ &URL{
...@@ -342,7 +342,7 @@ var urltests = []URLTest{ ...@@ -342,7 +342,7 @@ var urltests = []URLTest{
}, },
"", "",
}, },
// host and port subcomponents; IPv6 address with zone identifier in RFC 6847 // host and port subcomponents; IPv6 address with zone identifier in RFC 6874
{ {
"http://[fe80::1%25en0]:8080/", // alphanum zone identifier "http://[fe80::1%25en0]:8080/", // alphanum zone identifier
&URL{ &URL{
...@@ -352,7 +352,7 @@ var urltests = []URLTest{ ...@@ -352,7 +352,7 @@ var urltests = []URLTest{
}, },
"", "",
}, },
// host subcomponent; IPv6 address with zone identifier in RFC 6847 // host subcomponent; IPv6 address with zone identifier in RFC 6874
{ {
"http://[fe80::1%25%65%6e%301-._~]/", // percent-encoded+unreserved zone identifier "http://[fe80::1%25%65%6e%301-._~]/", // percent-encoded+unreserved zone identifier
&URL{ &URL{
...@@ -362,7 +362,7 @@ var urltests = []URLTest{ ...@@ -362,7 +362,7 @@ var urltests = []URLTest{
}, },
"http://[fe80::1%25en01-._~]/", "http://[fe80::1%25en01-._~]/",
}, },
// host and port subcomponents; IPv6 address with zone identifier in RFC 6847 // host and port subcomponents; IPv6 address with zone identifier in RFC 6874
{ {
"http://[fe80::1%25%65%6e%301-._~]:8080/", // percent-encoded+unreserved zone identifier "http://[fe80::1%25%65%6e%301-._~]:8080/", // percent-encoded+unreserved zone identifier
&URL{ &URL{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment