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
commit 9e53cec0601d7db7dbc49969a78922c708cdafdf Author: Nick Burch <[email protected]> AuthorDate: Thu Jun 4 06:01:29 2020 +0100 TIKA-3106 Magic header detection for emails starting with an ARC- signature header, and for the 2+ header cases also allow Received as a matching header --- .../src/main/resources/org/apache/tika/mime/tika-mimetypes.xml | 10 ++++++++++ 1 file changed, 10 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 049b1e4..d7d2a25 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 @@ -5918,6 +5918,7 @@ <match value="\nFrom:" type="stringignorecase" offset="0:8192"/> <match value="\nTo:" type="stringignorecase" offset="0:8192"/> <match value="\nSubject:" type="string" offset="0:8192"/> + <match value="\nReceived:" type="string" offset="0:8192"/> <match value="\nMIME-Version:" type="stringignorecase" offset="0:8192"/> </match> <match value="DKIM-" type="string" offset="0"> @@ -5925,6 +5926,15 @@ <match value="\nFrom:" type="stringignorecase" offset="0:8192"/> <match value="\nTo:" type="stringignorecase" offset="0:8192"/> <match value="\nSubject:" type="string" offset="0:8192"/> + <match value="\nReceived:" type="string" offset="0:8192"/> + <match value="\nMIME-Version:" type="stringignorecase" offset="0:8192"/> + </match> + <match value="ARC-" type="string" offset="0"> + <match value="\nMessage-ID:" type="string" offset="0:8192"/> + <match value="\nFrom:" type="stringignorecase" offset="0:8192"/> + <match value="\nTo:" type="stringignorecase" offset="0:8192"/> + <match value="\nSubject:" type="string" offset="0:8192"/> + <match value="\nReceived:" type="string" offset="0:8192"/> <match value="\nMIME-Version:" type="stringignorecase" offset="0:8192"/> </match> </magic>
