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

Hudson commented on TIKA-2099:
------------------------------

SUCCESS: Integrated in Jenkins build Tika-trunk #1247 (See 
[https://builds.apache.org/job/Tika-trunk/1247/])
TIKA-2099 -- temporarily copy/paste commons-compress' (tallison: 
[https://github.com/apache/tika/commit/a194bc4ba2b771807e93e664245f24e3573a15df])
* (add) 
tika-parsers/src/main/java/org/apache/tika/parser/pkg/TikaArchiveStreamFactory.java
* (edit) 
tika-parsers/src/main/java/org/apache/tika/parser/pkg/ZipContainerDetector.java
* (add) 
tika-parsers/src/test/java/org/apache/tika/parser/pkg/PackageParserTest.java
* (add) tika-parsers/src/test/resources/test-documents/testTAR_no_magic.tar
* (add) 
tika-parsers/src/test/java/org/apache/tika/parser/pkg/CompressorParserTest.java
* (edit) 
tika-parsers/src/test/java/org/apache/tika/detect/TestContainerAwareDetector.java
* (edit) 
tika-parsers/src/main/java/org/apache/tika/parser/pkg/PackageParser.java


> 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
>            Assignee: Tim Allison
>             Fix For: 1.15
>
>
> 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