]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.11-security] cmd/go/internal/get: relax pathOK check to allow...
authorBryan C. Mills <bcmills@google.com>
Tue, 4 Dec 2018 22:00:19 +0000 (17:00 -0500)
committerBryan C. Mills <bcmills@google.com>
Fri, 7 Dec 2018 14:48:55 +0000 (14:48 +0000)
commitd39cd4d6d73ffc8f47c8f3cec7dbe57a4f3f4980
treecf625539b3c01866f539f6d29d984542468931d5
parentd01ccd8ee871d6eaaaed52851c6ce8b49993f33a
[release-branch.go1.11-security] cmd/go/internal/get: relax pathOK check to allow any letter

This fixes a regression of #18660 with the new path checks.

Change-Id: I2dd9adab999e7f810e0e746ad8b75ea9622f56e7
Reviewed-on: https://team-review.git.corp.google.com/c/372706
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/go/internal/get/path.go
src/cmd/go/testdata/script/get_unicode.txt [new file with mode: 0644]