Skip to content

1.5.5: se7enxweb/expcomponents-archive, Exponential's fork of Zeta Components Archive

Latest

Choose a tag to compare

@se7enxweb se7enxweb released this 02 Dec 15:05

se7enxweb/expcomponents-archive 1.5.5 is Exponential's fork of Zeta Components Archive. Install: composer require se7enxweb/expcomponents-archive:~1.5.5

Changes

  • Fixed: Extracting a tar or zip archive refuses character device, block
    device and FIFO entries with an ezcArchiveValueException (or skips them
    with skipUnsafeEntries). The new option ezcArchiveOptions::$extractSpecialFiles
    (default false) restores the old behaviour of creating them (pull request #9).

  • Fixed: ZIP entries whose inflated size differs from the size declared in
    their header are refused with an ezcArchiveChecksumException before
    anything is written (pull request #9).

  • Fixed: ZIP archives now receive the options passed to ezcArchive::open()
    (skipUnsafeEntries, extractCallback and the others); before, they ran with
    the default options (pull request #9).

    BEHAVIOUR CHANGE: an archive with a device or FIFO entry now throws where it
    created that entry before. A caller that really needs such entries sets
    extractSpecialFiles.

Verified

Test suite on PHP 8.5 on the node: 366 tests, the only failures are the 24 append and create tests that fail as root, the same as on 1.5.4; GitHub Actions matrix (PHP 7.4 to 8.5) green on the release commit.