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

Andrew Jackson updated TIKA-1154:
---------------------------------

    Attachment: tika-breaker.html

This file makes tika hang. If you remove both of the binary characters (0x02 
0x00), then it starts working again.
                
> Tika hangs on format detection of malformed HTML file.
> ------------------------------------------------------
>
>                 Key: TIKA-1154
>                 URL: https://issues.apache.org/jira/browse/TIKA-1154
>             Project: Tika
>          Issue Type: Bug
>          Components: mime
>    Affects Versions: 1.4
>            Reporter: Andrew Jackson
>            Priority: Minor
>         Attachments: tika-breaker.html
>
>
> We are using Tika on large web archives, which also happen to contain some 
> malformed files. In particular, we found a HTML file with binary characters 
> in the DOCTYPE declaration. This hangs Tika, either embedded or from the 
> command line, during format detection.
> An example file 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

Reply via email to