]> Cypherpunks repositories - gostls13.git/commit
net/http: make Transport reject URLs with bogus ports with non-digits
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 1 Nov 2016 17:40:07 +0000 (17:40 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 1 Nov 2016 18:32:38 +0000 (18:32 +0000)
commitd89ab1398eef9a3f08db2a49ff3cbe158001474d
tree6a8049a6f86ced4025ef9c88522d8fc455d228a6
parentf31492ffe7d68e84ec0ba6e870d174ab48e6397c
net/http: make Transport reject URLs with bogus ports with non-digits

Fixes #14353

Change-Id: I9cb5a5192ecdae37c100969395ed6a1564b8d34e
Reviewed-on: https://go-review.googlesource.com/32482
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Martin Möhrmann <martisch@uos.de>
src/net/http/transport.go
src/net/http/transport_test.go