Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for Symlinks in all Tar decompressors #192

Closed
wants to merge 1 commit into from
Closed

Adds support for Symlinks in all Tar decompressors #192

wants to merge 1 commit into from

Commits on Jul 8, 2019

  1. Adds support for Symlinks in all Tar decompressors

    This is useful when using Nomad's Artefact mechanisms which internally
    uses `hashicorp/go-getter` to unpack Tar archives that are built from
    container root file systems (*which usually contain symlinks for runtime
    libraries*).
    
    Fixes #60 and supercedes the very old PR #37
    
    (We use a variant of this patch in our production systems and we need to
    get this into upstream as soon as conveniently possible)
    
    **NB:** This uses the
    [securejoin](https://github.com/cyphar/filepath-securejoin) library to
    prevent path escaping and other possible security vulnerabilities that
    come with concatenating paths.
    prologic committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    85c3ba9 View commit details
    Browse the repository at this point in the history