pyenv/test
Mislav Marohnić 370c26a6c9 Disallow path segments and directory traversal in .ruby-version files
A malicious `.ruby-version` file in the current directory could inject
`../../../` into the version string and trigger execution of binaries
outside of `RBENV_ROOT/versions/`.

Fixes #977 OVE-20170303-0004
2019-04-03 12:58:25 +02:00
..
libexec Add tests for rbenv PATH and RBENV_HOOK_PATH handling 2014-10-19 14:35:36 +02:00
--version.bats Improve git --version git revision lookup 2015-12-24 03:52:33 +01:00
commands.bats fix iterating through paths that have spaces in them 2013-04-01 01:04:19 +02:00
completions.bats add --help to subcommand completions 2015-11-19 12:05:19 -05:00
exec.bats Use create_hook helper 2016-01-04 09:14:25 -05:00
global.bats Remove support for legacy global version files 2015-12-28 22:05:00 -05:00
help.bats add tests for help and rbenv --version 2013-04-08 23:16:35 +02:00
hooks.bats Use create_hook helper 2016-01-04 09:14:25 -05:00
init.bats Revert quoting change in previous commit; adjust test to match code 2017-05-16 13:36:06 -07:00
local.bats Remove support for legacy version file 2015-12-28 21:34:07 -05:00
prefix.bats rbenv-prefix: do not silence rbenv-which for system version 2018-08-07 01:44:13 +02:00
rbenv.bats Extract common create_hook helper 2016-01-04 09:14:04 -05:00
rehash.bats Use create_hook helper 2016-01-04 09:14:25 -05:00
run Create configure script to generate a cross-platform Makefile 2014-10-13 04:12:35 +02:00
shell.bats Add tests for shell integration 2017-12-07 02:32:35 +01:00
shims.bats tests galore 2013-03-07 15:07:32 -05:00
test_helper.bash Keep original ordering of PATH configuration 2016-08-02 00:21:28 +00:00
version-file-read.bats Disallow path segments and directory traversal in .ruby-version files 2019-04-03 12:58:25 +02:00
version-file-write.bats add tests for version commands 2013-04-08 23:16:35 +02:00
version-file.bats Fix https://github.com/rbenv/rbenv/issues/1065 2018-02-26 16:49:37 +08:00
version-name.bats Test IFS handling in version-name/version-origin hooks 2016-01-04 09:14:28 -05:00
version-origin.bats Fix https://github.com/rbenv/rbenv/issues/1065 2018-02-26 16:49:37 +08:00
version.bats Move carriage return test to version-file-read 2014-03-21 01:32:29 +01:00
versions.bats Add rbenv versions --skip-aliases option 2015-10-27 21:05:10 +01:00
whence.bats undo assert_output_lines in tests 2013-04-08 23:16:35 +02:00
which.bats test/which.bats: do not export PATH 2017-11-20 04:22:05 +01:00