[ 
https://issues.apache.org/jira/browse/TIKA-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984633#comment-15984633
 ] 

Tim Allison commented on TIKA-2099:
-----------------------------------

[~gagravarr], thank you for the ping.  All, apologies for the delay.  

I think we should do for archivers what I just did for compressors...copy the 
compress' new detect() method into Tika so that it makes it into Tika 1.15, and 
then remove once we can upgrade to commons-compress 1.14.

> Tar files without magic bytes are sporadically detected as text
> ---------------------------------------------------------------
>
>                 Key: TIKA-2099
>                 URL: https://issues.apache.org/jira/browse/TIKA-2099
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 1.11
>            Reporter: Robin Schimpf
>
> When a tar is created with 7 Zip 9.20 the magic bytes "ustar" are not added. 
> Everything seems to work file if the tar contains Microsoft Office files. But 
> when only text files are contained Tika sporadically recognices it as 
> text/plain. It also seems to depend on the size of the first file in the tar. 
> This has to be several KB big.
> The problem was found in version 1.11 and also exists in the latest 
> 1.14-SNAPSHOT.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to