aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/example_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2016-10-20 16:53:49 -0400
committerRuss Cox <rsc@golang.org>2016-10-24 16:04:47 +0000
commitc5ccbdd22bdbdc43d541b7e7d4ed66ceb559030e (patch)
treeb93c3826e9848852f6cb3c8951730787a6876f9c /src/database/sql/example_test.go
parentafe675c2fa9deacd61f5684be54f1ebbdc94fc0c (diff)
downloadgo-c5ccbdd22bdbdc43d541b7e7d4ed66ceb559030e.tar.xz
net/url: reject colon in first segment of relative path in Parse
RFC 3986 ยง3.3 disallows relative URL paths in which the first segment contains a colon, presumably to avoid confusion with scheme:foo syntax, which is exactly what happened in #16822. Fixes #16822. Change-Id: Ie4449e1dd21c5e56e3b126e086c3a0b05da7ff24 Reviewed-on: https://go-review.googlesource.com/31582 Reviewed-by: Quentin Smith <quentin@golang.org>
Diffstat (limited to 'src/database/sql/example_test.go')
0 files changed, 0 insertions, 0 deletions