diff options
author | Kenny Grant <kennygrant@gmail.com> | 2017-03-15 21:55:04 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-03-24 19:10:33 +0000 |
commit | f1e880386b668a26dd6b7afdea43c9041a917fa5 (patch) | |
tree | 478f4ffb051dd6e06f68972f7020dcff1fbe90c9 /src/encoding/gob/decode.go | |
parent | 369d1083a74b6a965a33510489ab381d937812ae (diff) | |
download | go-f1e880386b668a26dd6b7afdea43c9041a917fa5.tar.gz go-f1e880386b668a26dd6b7afdea43c9041a917fa5.zip |
net/http: strip port from host in mux Handler
This change strips the port in mux.Handler before attempting to
match handlers and adds a test for a request with port.
CONNECT requests continue to use the original path and port.
Fixes #10463
Change-Id: Iff3a2ca2b7f1d884eca05a7262ad6b7dffbcc30f
Reviewed-on: https://go-review.googlesource.com/38194
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/gob/decode.go')
0 files changed, 0 insertions, 0 deletions