gzip decompess fails on some archives
Because the short header listing (readHeader) in 3rdparty/Archive/Tar.php is not trimming the filenames it fails on some archives. These "broken" archives pass gzip integrity tests and can be handled without problems by other decompression tools.
The solution is quite simple, just trim the filename after reading the header like it already is done in readLongHeader for many years. Shall I make a PR, include the latest version which is needed for PHP5.5 support and then file a bug report to the maintainers, or shall I just report this issue with the maintainers and we wait?
A PR would be great! Thanks
Here is it: https://github.com/owncloud/3rdparty/pull/108
The maintainer Michiel Rook must have been reading along, he released today (just after I checked for updates) a new version with our previously added changes and fixing this bug. :8ball:
@karlitschek this is related to https://github.com/owncloud/core/issues/9283 as well - are you okay with backporting that 3rdparty change to stable7?
yes. please backport
on it ...
stable7: c31990e9362389d87f4f7a2fb8e1e42a13d7f5aa