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

Pre-POSIX.1-1988 (i.e. v7) tar #49

Closed
Xflofoxx opened this issue Feb 2, 2017 · 1 comment
Closed

Pre-POSIX.1-1988 (i.e. v7) tar #49

Xflofoxx opened this issue Feb 2, 2017 · 1 comment

Comments

@Xflofoxx
Copy link

Xflofoxx commented Feb 2, 2017

Hi,
I have an issue while opening an old tar.bz file, it seems that the problem is that the https://github.com/sindresorhus/file-type library cannot recognize the "tar" format becouse it is pre-posix.1-1988 version and there is no "magic number" for such files. You can follow the issue I opened with that library here:

However, if I bypass the file check in the plugin decompress-tar the tarStream seems to extract correctly the files. I think that adding a new option called "legacyTar" is a good compromise.

I'm going to add a pool request soon, for the module and also for the following plugins:

Thanks

@kevva kevva added bug and removed bug labels May 25, 2017
@kevva
Copy link
Owner

kevva commented May 25, 2017

Closing in favor of the issue in file-type that you referenced.

@kevva kevva closed this as completed May 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants