Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2A73D64F for ; Mon, 1 Oct 2012 17:05:09 +0000 (UTC) Received: (qmail 78039 invoked by uid 500); 1 Oct 2012 17:05:08 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 77909 invoked by uid 500); 1 Oct 2012 17:05:08 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 77603 invoked by uid 99); 1 Oct 2012 17:05:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 17:05:08 +0000 Date: Tue, 2 Oct 2012 04:05:08 +1100 (NCT) From: "Daniel Lowe (JIRA)" To: issues@commons.apache.org Message-ID: <1175564596.148570.1349111108186.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (COMPRESS-204) ArchiveStreamFactory incorrectly detects txt file as tar MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Daniel Lowe created COMPRESS-204: ------------------------------------ Summary: 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 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