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

Detect UStar tar archives #308

Merged
merged 2 commits into from
Jul 18, 2022

Commits on Jul 13, 2022

  1. Detect UStar tar archives

    UStar tar archives have a `magic` header field at byte offset 257 in
    each entry whose value begins with the string `ustar`. Identify them
    with the MIME type `application/x-tar`.
    
    Also add test cases for a number of UStar-compatible formats, created by
    GNU tar 1.29 (with `--format=<format-name>`):
    
    * `tar.gnu.tar`
    * `tar.oldgnu.tar`
    * `tar.posix.tar`
    * `tar.ustar.tar`
    
    as well as `tar.star.tar` (created by star 1.6) and, for completeness,
    `tar.v7-gnu.tar` (a v7 tar archive created by GNU tar 1.29).
    
    Fixes gabriel-vasile#307.
    chrisnovakovic committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    bc2b8c3 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2022

  1. Configuration menu
    Copy the full SHA
    01f9e9a View commit details
    Browse the repository at this point in the history