Skip to content

v1.7.1 — Configurable ZIP Browsing Limits

Latest

Choose a tag to compare

@mson0129 mson0129 released this 06 Nov 01:08

New Features

  • Configure ZIP archive size, individual member size, total expanded size, compression ratio, path length, and path depth through CLI options or JSON.
  • Add max_zip_archive_mb, max_zip_member_mb, max_zip_expanded_mb, max_zip_ratio, max_zip_path_length, and max_zip_path_depth settings, with corresponding CLI options such as --max-zip-archive-mb.

Improvements

  • Remove the default ZIP browsing limits of 64 MiB per archive, 64 MiB per member, 256 MiB total expanded size, and a 100:1 compression ratio.
  • Remove default member-path length and depth limits. All optional ZIP browsing limits default to 0 (unlimited), and CLI values override JSON.
  • Update configuration examples and documentation in English, Korean, Spanish, and Japanese.
  • Keep development test scripts out of the release source tree.

Safety

  • Keep ZIP contents read-only and exclude unsafe paths and symbolic-link entries.
  • Continue to support stored and DEFLATE ZIP members only. Encrypted members cannot be opened, and TAR browsing remains disabled. Original TAR files remain downloadable.
  • Process one archive operation at a time. ZIP browsing limits are separate from upload and folder download settings.

No external Python packages are required.

Full Changelog: v1.7.0...v1.7.1