You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Andrew Jackson (JIRA)" <ji...@apache.org> on 2013/07/25 11:33:48 UTC

[jira] [Updated] (TIKA-1154) Tika hangs on format detection of malformed HTML file.

     [ 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