diff options
| author | Russ Cox <rsc@golang.org> | 2016-10-20 16:53:49 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2016-10-24 16:04:47 +0000 |
| commit | c5ccbdd22bdbdc43d541b7e7d4ed66ceb559030e (patch) | |
| tree | b93c3826e9848852f6cb3c8951730787a6876f9c /src/path/filepath | |
| parent | afe675c2fa9deacd61f5684be54f1ebbdc94fc0c (diff) | |
| download | go-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/path/filepath')
0 files changed, 0 insertions, 0 deletions
