You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2019/08/08 14:46:39 UTC

[commons-compress] 01/02: COMPRESS-488 add "cannot skip over prefix" to the list of limitations

This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git

commit b2026d350372d091366b475c2d41d4292103ada7
Author: Stefan Bodewig <bo...@apache.org>
AuthorDate: Thu Aug 8 16:45:31 2019 +0200

    COMPRESS-488 add "cannot skip over prefix" to the list of limitations
---
 src/site/xdoc/zip.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/site/xdoc/zip.xml b/src/site/xdoc/zip.xml
index 1629ef5..bad3a26 100644
--- a/src/site/xdoc/zip.xml
+++ b/src/site/xdoc/zip.xml
@@ -76,6 +76,11 @@
           <li>may return unknown sizes and CRC values for entries
           until the next entry has been reached if the archive uses
           the data descriptor feature (see below).</li>
+          <li>can not skip over bytes that occur before the real zip
+          stream. This means self-extracting zips as they are created
+          by some tools can not be read using
+          <code>ZipArchiveInputStream</code> at all. This also applies
+          to Chrome extension archives, for example.</li>
         </ul>
 
         <p><code>ZipArchiveInputStream</code> shares these limitations