]> Cypherpunks repositories - gostls13.git/commit
cmd/go: refine GOAUTH user parsing to be more strict
authorSam Thanawalla <samthanawalla@google.com>
Tue, 28 Jan 2025 16:13:52 +0000 (16:13 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 30 Jan 2025 21:39:38 +0000 (13:39 -0800)
commitce7ea0a6a529ce91327900e29afc3abd620030b4
tree2d56e15e99c92d22a99870d08c429d799d6224b1
parente81f7155154c0f5d40363e84a8f24a5b559b5eed
cmd/go: refine GOAUTH user parsing to be more strict

This CL enhances the parsing of GOAUTH user based authentication for
improved security.

Updates: #26232

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Change-Id: Ica57952924020b7bd2670610af8de8ce52dbe92f
Reviewed-on: https://go-review.googlesource.com/c/go/+/644995
Auto-Submit: Sam Thanawalla <samthanawalla@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/auth/httputils.go [new file with mode: 0644]
src/cmd/go/internal/auth/userauth.go
src/cmd/go/internal/auth/userauth_test.go
src/cmd/go/internal/help/helpdoc.go