Commit bc82d7c7 authored by Bryan C. Mills's avatar Bryan C. Mills Committed by Dmitri Shuralyov
Browse files

cmd/go: reject 'get' of paths containing leading dots or unsupported characters

On some platforms, directories beginning with dot are treated as
hidden files, and filenames containing unusual characters can be
confusing for users to manipulate (and delete).

Fixes #29230
Fixes #29231

Change-Id: Ic6f97f577d8fafa83ef62438095a5c7ae022881a
Reviewed-on: https://team-review.git.corp.google.com/c/368507


Reviewed-by: default avatarRuss Cox <rsc@google.com>
Reviewed-on: https://go-review.googlesource.com/c/154101


Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
parent 190a5f8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment