]> Cypherpunks repositories - gostls13.git/commit
net/url: document, test that PathEscape escapes / to %2F
authorRuss Cox <rsc@golang.org>
Thu, 25 Apr 2019 15:43:52 +0000 (11:43 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 26 Apr 2019 13:52:08 +0000 (13:52 +0000)
commita7dc6ca4b176cc4a918a73ffd0ab7df92011fdbb
tree41af3a7c151030d41aa3b641615ec2898bdb45d7
parent216797b63bb3d2f54c32a968d63857d75895113e
net/url: document, test that PathEscape escapes / to %2F

I couldn't remember and couldn't tell from the docs,
so I added a test and documented what I found.

Change-Id: Ic5d837c2d620b15d7a831823e94e70080f5e5324
Reviewed-on: https://go-review.googlesource.com/c/go/+/173948
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/url/url.go
src/net/url/url_test.go