You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2013/07/19 15:48:50 UTC
[jira] [Commented] (TIKA-1146) MagicDetector don't work for all
RFC882 message Types
[ https://issues.apache.org/jira/browse/TIKA-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713665#comment-13713665 ]
Nick Burch commented on TIKA-1146:
----------------------------------
Something didn't quite feel right to me about your proposed changes to MagicDetector, so I've had a go at doing something slightly different in r1504877. I've added some unit tests which seem to show it working, I'll add your mimetypes fix + test shortly
On a different note, it's generally best to generate patches with "svn diff" if possible, a single patch file from that is normally easier to review than a zip of single patches
> MagicDetector don't work for all RFC882 message Types
> ------------------------------------------------------
>
> Key: TIKA-1146
> URL: https://issues.apache.org/jira/browse/TIKA-1146
> Project: Tika
> Issue Type: Bug
> Components: mime
> Affects Versions: 1.4
> Reporter: Kai-Uwe Schmidt
> Attachments: rfc822 case patch.zip, testGroupwiseEml.eml
>
>
> I am trying to use Tika to extract metadata from eml's created via Novell Groupwise. By this I ran into a problem with the dedection of "message/rfc822". The MagicDetector (working with the default tika-mimetypes.xml) compares the "match" values binary. RFC822 describes the header attributes are case independent (see http://www.ietf.org/rfc/rfc0822.txt 3.4.7). So MIME-Version is the same than Mime-Version.
--
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