You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Daniel Lowe (JIRA)" <ji...@apache.org> on 2012/10/01 19:27:09 UTC

[jira] [Resolved] (COMPRESS-204) ArchiveStreamFactory incorrectly detects txt file as tar

     [ https://issues.apache.org/jira/browse/COMPRESS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Lowe resolved COMPRESS-204.
----------------------------------

       Resolution: Duplicate
    Fix Version/s: 1.5

Duplicate of COMPRESS-191
                
> ArchiveStreamFactory incorrectly detects txt file as tar
> --------------------------------------------------------
>
>                 Key: COMPRESS-204
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-204
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.4.1
>         Environment: JDK 1.6 64-bit
>            Reporter: Daniel Lowe
>             Fix For: 1.5
>
>         Attachments: US5747498.txt
>
>
> The fix for COMPRESS-117 relies on TarArchiveInputStream's getNextEntry method throwing an exception. This isn't true for all non-tar files. An example is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira