]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.11] net/http, net/url: reject control characters in URLs
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 31 Jan 2019 20:17:12 +0000 (20:17 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 1 Feb 2019 19:52:05 +0000 (19:52 +0000)
commiteb0f2b3d27a896e4b832f2450490a2bbf72fbb6c
tree7c55443bf212a659bf6279567f685341550e6fdb
parentddfb74ed26b77ce6f3346371b28db030c2391cc3
[release-branch.go1.11] net/http, net/url: reject control characters in URLs

Cherry pick of combined CL 159157 + CL 160178.

Fixes #29923
Updates #27302
Updates #22907

Change-Id: I6de92c14284595a58321a4b4d53229285979b872
Reviewed-on: https://go-review.googlesource.com/c/160798
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/fs_test.go
src/net/http/http.go
src/net/http/request.go
src/net/http/requestwrite_test.go
src/net/url/url.go
src/net/url/url_test.go