Author: mattmann
Date: Wed Jul  1 13:21:41 2015
New Revision: 1688647

URL: http://svn.apache.org/r1688647
Log:
Fix for TIKA-1602: Detecting standards-non-compliant emails as message/rfc822 
contributed by Jeremy B. Merrill <[email protected]> this closes #40.

Modified:
    tika/trunk/CHANGES.txt
    
tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml

Modified: tika/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/tika/trunk/CHANGES.txt?rev=1688647&r1=1688646&r2=1688647&view=diff
==============================================================================
--- tika/trunk/CHANGES.txt (original)
+++ tika/trunk/CHANGES.txt Wed Jul  1 13:21:41 2015
@@ -1,5 +1,8 @@
 Release 1.10 - Current Development
 
+  * Non-standards compliant emails are now correctly detected
+    as message/rfc822 (TIKA-1602).
+
   * Added parser for MS Access files via Jackcess. Many thanks 
     to Health Market Science, Brian O'Neill and James Ahlborn 
     for relicensing Jackcess to Apache v2! (TIKA-1601)

Modified: 
tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
URL: 
http://svn.apache.org/viewvc/tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml?rev=1688647&r1=1688646&r2=1688647&view=diff
==============================================================================
--- 
tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml 
(original)
+++ 
tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml 
Wed Jul  1 13:21:41 2015
@@ -5112,6 +5112,7 @@
 
   <mime-type type="message/rfc822">
     <magic priority="50">
+      <match value="Status:" type="string" offset="0"/>       <!-- added 
custom by Jeremy B. Merril 4/10/14 -->
       <match value="Relay-Version:" type="stringignorecase" offset="0"/>
       <match value="#!\ rnews" type="string" offset="0"/>
       <match value="N#!\ rnews" type="string" offset="0"/>


Reply via email to