You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Trevor Bentley (Jira)" <ji...@apache.org> on 2020/09/11 16:47:00 UTC

[jira] [Created] (TIKA-3196) PackageParser should attempt to parse entries from zip files with STORED entries with data descriptor

Trevor Bentley created TIKA-3196:
------------------------------------

             Summary: PackageParser should attempt to parse entries from zip files with STORED entries with data descriptor
                 Key: TIKA-3196
                 URL: https://issues.apache.org/jira/browse/TIKA-3196
             Project: Tika
          Issue Type: Bug
          Components: parser
            Reporter: Trevor Bentley


We are currently using tika for text extraction. Currently some sites are returning zips that have entries with stored data descriptors which fail to extract due to the ZipArchiveInputStream (in commons-compress) defaulting to false for 'allowStoredEntriesWithDataDescriptor'. 

Since ZipArchiveInputStream has support for reading zips with data descriptors we should attempt to read the zip with that feature enabled when we get a data descriptor UnsupportedZipFeatureException.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)