mirror of https://github.com/buildinspace/peru.git
bc8de020a2
It's acceptable for a tarball to have a symlink at `a/b/c/foo.txt` that points to `../../../foo.txt` (see `legal_symlink_dots.tar`), because that symlink "stays within" the archive. However, it should be illegal for the same symlink to point to `../../../../foo.txt` (see `illegal_symlink_dots.tar`), because that symlink "reaches outside" the archive. Similarly, it should always be illegal for a tarball to hold a symlink pointing to an absolute path. Add validation and tests cases for these behaviors. |
||
---|---|---|
.. | ||
resources | ||
.coveragerc | ||
__init__.py | ||
shared.py | ||
test_async.py | ||
test_cache.py | ||
test_compat.py | ||
test_curl_plugin.py | ||
test_display.py | ||
test_edit_yaml.py | ||
test_git_plugin.py | ||
test_glob.py | ||
test_keyval.py | ||
test_merge.py | ||
test_parallelism.py | ||
test_parser.py | ||
test_paths.py | ||
test_plugins.py | ||
test_reup.py | ||
test_rule.py | ||
test_runtime.py | ||
test_scope.py | ||
test_sync.py | ||
test_test_shared.py |