tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Burch (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (TIKA-485) ContainerAwareDetector doesn't support truncated POI files
Date Mon, 06 Sep 2010 17:52:34 GMT

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

Nick Burch resolved TIKA-485.
-----------------------------

         Assignee: Nick Burch
    Fix Version/s: 0.8
       Resolution: Fixed

Thanks for the patch, applied with slight tweaks in r993113.

> ContainerAwareDetector doesn't support truncated POI files
> ----------------------------------------------------------
>
>                 Key: TIKA-485
>                 URL: https://issues.apache.org/jira/browse/TIKA-485
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Antoni Mylka
>            Assignee: Nick Burch
>             Fix For: 0.8
>
>         Attachments: tika-truncated-excel-file.patch
>
>
> If a file has a POI magic number but the call to  new POIFSFileSystem(new FileInputStream(stream.getFile()));
throws an exception because the file is broken - the entire process will fail. A simple try-catch
around the call to POIFSContainerDetector.detect would allow the ContainerAwareDetector to
return a meaningful result

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message