]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go/internal/modfetch: avoid path.Join in URL errors, part 2
authorDmitri Shuralyov <dmitshur@golang.org>
Sun, 1 Oct 2023 20:03:01 +0000 (16:03 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 2 Nov 2023 19:15:05 +0000 (19:15 +0000)
commit2ffe600dfafcae748e98c9676283c7e0e1bbc667
tree6d89da621e690a4cfec825ead39f69276ae149d2
parent4e9509303b30b8948d53e6c71633e73060d8031d
cmd/go/internal/modfetch: avoid path.Join in URL errors, part 2

CL 406675 added more detail to bare errors from net/http in two places.
CL 461682 improved one of the two places to stop folding "//" into "/".
This CL applies the same change to the other place.

For #52727.

Change-Id: I3fc13f30cf0f054949ce78269c52b7fafd477e70
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/532015
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/modfetch/proxy.go