[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Updated] (COMPRESS-191) Too relaxed tar detection in ArchiveStreamFactory
From:       "Jukka Zitting (JIRA)" <jira () apache ! org>
Date:       2012-06-30 9:12:42
Message-ID: 912781644.74811.1341047563637.JavaMail.jiratomcat () issues-vm
[Download RAW message or body]


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

Jukka Zitting updated COMPRESS-191:
-----------------------------------

    Description: The relaxed tar detection logic added in COMPRESS-117 unfortunately \
matches also some non-tar files like a [test AIFF \
file|https://svn.apache.org/repos/asf/tika/trunk/tika-parsers/src/test/resources/test-documents/testAIFF.aif] \
that Apache Tika uses. It would be good to improve the detection heuristics to still \
match files like the one in COMPRESS-117 but avoid false positives like the AIFF file \
in Tika.  (was: The relaxed tar detection logic added in COMPRESS-177 unfortunately \
matches also some non-tar files like a [test AIFF \
file|https://svn.apache.org/repos/asf/tika/trunk/tika-parsers/src/test/resources/test-documents/testAIFF.aif] \
that Apache Tika uses. It would be good to improve the detection heuristics to still \
match files like the one in COMPRESS-177 but avoid false positives like the AIFF file \
in Tika.)  
> Too relaxed tar detection in ArchiveStreamFactory
> -------------------------------------------------
> 
> Key: COMPRESS-191
> URL: https://issues.apache.org/jira/browse/COMPRESS-191
> Project: Commons Compress
> Issue Type: Bug
> Components: Archivers
> Affects Versions: 1.2, 1.3, 1.4, 1.4.1
> Reporter: Jukka Zitting
> Priority: Minor
> Labels: tar
> Attachments: 0001-COMPRESS-191-Too-relaxed-tar-detection-in-ArchiveStr.patch
> 
> 
> The relaxed tar detection logic added in COMPRESS-117 unfortunately matches also \
> some non-tar files like a [test AIFF \
> file|https://svn.apache.org/repos/asf/tika/trunk/tika-parsers/src/test/resources/test-documents/testAIFF.aif] \
> that Apache Tika uses. It would be good to improve the detection heuristics to \
> still match files like the one in COMPRESS-117 but avoid false positives like the \
> AIFF file in Tika.

--
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

        


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic