]> Cypherpunks repositories - gostls13.git/commit
net/http: strip password from error message
authorGregory Man <man.gregory@gmail.com>
Wed, 28 Mar 2018 08:44:10 +0000 (11:44 +0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 31 Mar 2018 21:58:39 +0000 (21:58 +0000)
commita30d24fad99a95c8f65f8677ad9404e090aeb13a
treea8c60fafbaf86ea4a172522cd228c5f15c3165b3
parent625f2dccd4593d709f98e6411e9bee9f195b5c61
net/http: strip password from error message

Strip password from URL then stringifying it to error.

Fixes #24572

Change-Id: I1751ea9ccf87e7dff50c4c2a2010bf3f865702f8
Reviewed-on: https://go-review.googlesource.com/102855
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/http/client.go
src/net/http/client_test.go