mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-10 07:36:16 -04:00
Reject control characters in entry names
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
94fcf1e269
commit
41bb8f6106
|
|
@ -63,7 +63,7 @@ case "$version" in
|
|||
esac
|
||||
|
||||
case "$package_name" in
|
||||
*/* | .. | . )
|
||||
*/* | .. | . | *[[:cntrl:]]* )
|
||||
echo "pyenv-binary: invalid package name \`${package_name}'" >&2
|
||||
exit 1
|
||||
;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue