Menu

7-zip fails to extract MediaWiki tar archive

AyrA
2020-06-30
2021-11-13
  • AyrA

    AyrA - 2020-06-30

    7-zip 20.00 is unable to properly process the tar files for a mediawiki installation.

    Location of archive: https://www.mediawiki.org/wiki/Download

    Example files: mediawiki-1.34.2\vendor\liuggio\statsd-php-client\src\Liuggio\StatsdClient\Factory

    The given location lists two times the same file. There are other instances where file names seem to be chopped off. Extracting the archive on a linux machine using the tar utility works correctly.

     
  • Igor Pavlov

    Igor Pavlov - 2020-06-30

    7-Zip doesn't support some "@PaxHeader" extensions of tar format that allow to encode long file names.

     
  • Vladimir Surguchev

    Attached patch(19.00) can solve this issue.
    It relaxes PaxHeader name check and adds mtime pax property parsing.

     
  • Adam Augustine

    Adam Augustine - 2020-09-30

    @ipavlov
    Does this patch do the right thing?

     
  • Vladimir Surguchev

    21.02 still can't catch some PaxHeaders.
    There is a bit fixed patch adopted to 21.02 sources.

     
  • Adam Augustine

    Adam Augustine - 2021-07-22

    Thanks for providing the patch Vladimir!

    @ipalov Can this patch be accepted?

     
  • Vladimir Surguchev

    Nothing changed since 21.02
    New patch version (covers more cases),

     

Log in to post a comment.