You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jens Kordowski (Jira)" <ji...@apache.org> on 2025/07/30 11:04:00 UTC

[jira] [Created] (CAMEL-22294) camel-zipfile - decompression of multi-member archive

Jens Kordowski created CAMEL-22294:
--------------------------------------

             Summary: camel-zipfile - decompression of multi-member archive
                 Key: CAMEL-22294
                 URL: https://issues.apache.org/jira/browse/CAMEL-22294
             Project: Camel
          Issue Type: Bug
          Components: camel-zipfile
    Affects Versions: 4.13.0, 4.10.5
            Reporter: Jens Kordowski
         Attachments: decompressConcatenated.patch

According to the gzip file format specification, a gzip file consists of a series of members (see [https://www.rfc-editor.org/rfc/rfc1952#section-2.2)]. The attached patch contains a valid gzip archive with 2 members, a unit test and a proposed fix. Without the fix, only the first line/member is considered during decompression. With the fix, both members are decompressed.

 

Probably very few systems create such concatenated archives, which is why the respective option was not set / noticed for such a long time.

 

Best regards

Jens



--
This message was sent by Atlassian Jira
(v8.20.10#820010)