[
https://issues.apache.org/jira/browse/TIKA-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Burch resolved TIKA-2409.
------------------------------
Resolution: Not A Problem
> Tar has different mime type by name vs contents
> -----------------------------------------------
>
> Key: TIKA-2409
> URL: https://issues.apache.org/jira/browse/TIKA-2409
> Project: Tika
> Issue Type: Bug
> Components: mime
> Reporter: Collin Peters
>
> [TestMimeTypes.java#L360|https://github.com/apache/tika/blob/master/tika-parsers/src/test/java/org/apache/tika/mime/TestMimeTypes.java#L360]
> has the following:
> {code}
> assertTypeByName("application/x-tar", "test.tar");
> assertTypeByData("application/x-gtar", "test-documents.tar"); // GNU TAR
> {code}
> The {{tar}} extension is detected as a {{application/x-tar}} by name, but a
> {{application-x-gtar}} by contents. This doesn't seem to match up.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)