commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <>
Subject [jira] Created: (SANDBOX-292) ZipExtraFields need data from central directory as well
Date Thu, 26 Feb 2009 13:27:01 GMT
ZipExtraFields need data from central directory as well

                 Key: SANDBOX-292
             Project: Commons Sandbox
          Issue Type: Improvement
          Components: Compress
            Reporter: Stefan Bodewig

Extra field data can be stored in two places inside a zip archive - the entries local file
data and its central directory entry.

Currently ZipFile - like* - ignores the data stored inside the central directory
and assumes all information can be taken from the local file data part.

Unfortunately there are cases where an archiver uses different data, or even worse, only uses
the central directory.  One such case comes up with SANDBOX-176 and WinZIP.  WinZIP uses InfoZIP
extra fields to store Unicode versions of file names but it only stores them inside the central
directory, where ZipFile doesn't look for them.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message