8000 "ustar " instead of "ustar" · Issue #7 · clue/reactphp-tar · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

"ustar " instead of "ustar" #7

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

Closed
nazar-pc opened this issue Mar 21, 2019 · 1 comment
Closed

"ustar " instead of "ustar" #7

nazar-pc opened this issue Mar 21, 2019 · 1 comment

Comments

@nazar-pc
Copy link

This tarball: https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
If has magic header recognized as ustar instead of ustar (note space at the end).
After manual code tweaking it extracts files just fine.

@clue
Copy link
Owner
clue commented Apr 10, 2019

@nazar-pc Thanks for reporting!

The linked tar file uses the ustar (7 bytes with two trailing spaces) format which is also known as "oldgnu" or "GNU tar" format. Short link dump:

As such, this is not the same as the current "ustar" format (POSIX IEEE P1003.1). There already an open ticket to add support for more formats in the future via #3, so I'll close this one as a possible duplicate.

If you want to sponsor this feature and/or help with implementation, feel free to reach out 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0