Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-380

Support for ENHANCED_DEFLATED (Deflate64) in ZIP files

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.16
    • Archivers, Compressors

    Description

      Some of the (large) ZIP files we try to process currently will throw this:

      UnsupportedZipFeatureException: unsupported feature method 'ENHANCED_DEFLATED' 
      

      which is a bummer since JDK's implementation also doesn't support Deflate64. This seems to be PKWare's extensions, although code to decrypt it exists in zlib (and is appropriately licensed, I believe).

      https://github.com/madler/zlib/tree/master/contrib/infback9

      Attachments

        1. compress-380.diff
          34 kB
          Christian Marquez Grabia
        2. archive-deflate.zip
          0.2 kB
          Dawid Weiss
        3. archive-deflate64.zip
          0.2 kB
          Dawid Weiss
        4. hello.world
          0.0 kB
          Dawid Weiss
        5. archive64.zip
          2 kB
          Dawid Weiss
        6. archive.zip
          2 kB
          Dawid Weiss
        7. input2
          3 kB
          Dawid Weiss

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dweiss Dawid Weiss
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: