You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2023/09/08 15:13:06 UTC

[tika] branch TIKA-4125 created (now 470ae2553)

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a change to branch TIKA-4125
in repository https://gitbox.apache.org/repos/asf/tika.git


      at 470ae2553 TIKA-4125 -- tweak rfc822 detection a bit

This branch includes the following new commits:

     new 470ae2553 TIKA-4125 -- tweak rfc822 detection a bit

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[tika] 01/01: TIKA-4125 -- tweak rfc822 detection a bit

Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch TIKA-4125
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 470ae2553ee1122f289e79c48c762d143c49fe8c
Author: tballison <ta...@apache.org>
AuthorDate: Fri Sep 8 11:12:58 2023 -0400

    TIKA-4125 -- tweak rfc822 detection a bit
---
 tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
index 47203a163..ea4f99db2 100644
--- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
+++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
@@ -6864,6 +6864,10 @@
         <match value="X-Mailer:" type="string" offset="0"/>
         <match value="X-Originating-IP:" type="stringignorecase" offset="0"/>
 
+        <match value="\nContent-ID:" type="stringignorecase" offset="0:1024"/>
+        <match value="\nContent-Location:" type="stringignorecase" offset="0:1024"/>
+        <match value="\nContent-Transfer-Encoding:" type="stringignorecase" offset="0:1024"/>
+        <match value="\nContent-Type:" type="stringignorecase" offset="0:1024"/>
         <match value="\nDate:" type="stringignorecase" offset="0:1024"/>
         <match value="\nDelivered-To:" type="string" offset="0:1024"/>
         <match value="\nFrom:" type="stringignorecase" offset="0:1024"/>