James Stronz
47b0ce77c0
Re-allow paths in .python-version provided that they resolve to within the versions dir ( #2442 )
...
* Fixes #2430 while still preventing CVE-2022-35861
* Adds a skipped version message to stderr
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2022-09-03 22:37:53 +03:00
James Stronz
22fa683571
CVE-2022-35861: Fixed relative path traversal due to using version string in path ( #2412 )
2022-07-17 01:01:04 +03:00
Ville Skyttä
641916270b
feat: support (skip) commented lines in version-file
...
Sometimes it is convenient to be able to temporarily disable something
in a version-file. Because these files often aren't necessarily tracked
in a SCM, especially when working with virtualenvs, the SCM diffs won't
help with showing removed lines which are currently the only way to
disable something.
2021-04-11 07:46:34 +03:00
Yamashita Yuu
34065dddbb
reads only the first word from file
2014-03-24 19:42:52 +09:00
Yamashita Yuu
ea9214bb2e
ignores carriage returns
2014-03-24 18:15:40 +09:00
Yamashita Yuu
319721b380
Modify applications and versions for Python
2014-01-03 04:41:23 +09:00
Yamashita Yuu
3dd9332eee
Fix broken tests
2014-01-03 04:33:30 +09:00
Yamashita Yuu
0965577b93
Import tests from rbenv with sed -e s/rbenv/pyenv/g
2014-01-03 02:06:36 +09:00