mirror of
https://github.com/golang/go.git
synced 2025-10-19 19:13:18 +00:00
net: don't test with leading 0 in ipv4 addresses
Updates #30999 Fixes #73378 Change-Id: I6a96581e78678518473626aa5d108428cfad6619 Reviewed-on: https://go-review.googlesource.com/c/go/+/671795 Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
18431a1c8f
commit
8cfcad8da8
1 changed files with 0 additions and 1 deletions
|
@ -90,7 +90,6 @@ var (
|
|||
"www.google.com:80",
|
||||
"%d.%d.%d.%d:http",
|
||||
"www.google.com:http",
|
||||
"%03d.%03d.%03d.%03d:0080",
|
||||
"[::ffff:%d.%d.%d.%d]:80",
|
||||
"[::ffff:%02x%02x:%02x%02x]:80",
|
||||
"[0:0:0:0:0000:ffff:%d.%d.%d.%d]:80",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue