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 2018/03/07 20:44:05 UTC

[tika] branch branch_1x updated: TIKA-2594 improve eml detection via Luis Filipe Nassif

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

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


The following commit(s) were added to refs/heads/branch_1x by this push:
     new e12117c  TIKA-2594 improve eml detection via Luis Filipe Nassif
e12117c is described below

commit e12117c0e4792404eca825df0d2ae9925f0d5d18
Author: tballison <ta...@mitre.org>
AuthorDate: Wed Mar 7 15:43:20 2018 -0500

    TIKA-2594 improve eml detection via Luis Filipe Nassif
---
 tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml | 5 ++++-
 tika-server/pom.xml                                                  | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

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 fbcb0c5..8e131f9 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
@@ -5720,7 +5720,10 @@
       <match value="From:" type="stringignorecase" offset="0"/>
       <match value="Received:" type="stringignorecase" offset="0"/>
       <match value="Message-ID:" type="stringignorecase" offset="0"/>
-      <match value="\nMessage-ID:" type="stringignorecase" offset="0:8192"/>
+      <match value="\nReturn-Path:" type="stringignorecase" offset="0:1000"/>
+      <match value="\nX-Originating-IP:" type="stringignorecase" offset="0:1000"/>
+      <match value="\nReceived:" type="stringignorecase" offset="0:1000"/>
+      <match value="\nMessage-ID:" type="stringignorecase" offset="0:1000"/>
       <match value="Date:" type="string" offset="0"/>
       <match value="User-Agent:" type="string" offset="0"/>
       <match value="MIME-Version:" type="stringignorecase" offset="0"/>
diff --git a/tika-server/pom.xml b/tika-server/pom.xml
index aee9049..d7f6689 100644
--- a/tika-server/pom.xml
+++ b/tika-server/pom.xml
@@ -260,6 +260,7 @@
           </execution>
         </executions>
       </plugin>
+      <!--
       <plugin>
         <groupId>com.spotify</groupId>
         <artifactId>dockerfile-maven-plugin</artifactId>
@@ -279,7 +280,7 @@
             <JAR_FILE>tika-server-${project.version}.jar</JAR_FILE>
           </buildArgs>
         </configuration>
-      </plugin>
+      </plugin>-->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>

-- 
To stop receiving notification emails like this one, please contact
tallison@apache.org.