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

[jira] [Resolved] (COMPRESS-173) ArchiveStreamFactory.createArchiveInputStream(in) returns a TarArchiveInputStream object if in is a simple text file

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

Stefan Bodewig resolved COMPRESS-173.
-------------------------------------

    Resolution: Duplicate
    
> ArchiveStreamFactory.createArchiveInputStream(in) returns a TarArchiveInputStream object if in is a simple text file 
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: COMPRESS-173
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-173
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.3
>         Environment: ubuntu
>            Reporter: Tong Wang
>
> After COMPRESS-117 fix, ArchiveStreamFactory.createArchiveInputStream(in) returns a TarArchiveInputStream object if input is a simple text file.  In my test case, the file has two lines:
> BagIt-Version: 0.96
> Tag-File-Character-Encoding: UTF-8

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira