cmd/go: version encoding in GOPROXY indexes (list files) #31339
Labels
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
goproxy states that
but also, a few lines later, that
That seems to imply that because version is case-encoded in file paths and urls, it is also encoded in lists. However, “seems to imply” is not the same thing as a clear specification, and
rewriteVersionList for example, does not seem to perform any encoding check before writing indexes.
(practically we will need to force lower-casing in the versions we process for other reasons, but the go version spec, unfortunately, is not so strict).
That's one of the many little things that make an official
go mod index
desirable (issue #31303)The text was updated successfully, but these errors were encountered: