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:07 UTC
[tika] 01/01: TIKA-4125 -- tweak rfc822 detection a bit
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"/>