This is an automated email from the ASF dual-hosted git repository. tallison pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push: new 0daea616a TIKA-4174 correct mime type for sip pcap (#1519) 0daea616a is described below commit 0daea616af12c5f07fc0070418d5b7b180031440 Author: NissimShiman <57680836+nissimshi...@users.noreply.github.com> AuthorDate: Tue Jan 2 10:41:28 2024 -0500 TIKA-4174 correct mime type for sip pcap (#1519) --- tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml | 5 +++-- 1 file changed, 3 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 53808c752..b76adebd1 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 @@ -2133,6 +2133,7 @@ <!-- robots.txt file --> <!-- draft: https://datatracker.ietf.org/doc/html/draft-koster-rep --> <!-- should have a higher priority than rfc822 - TIKA-3489 --> + <!-- and a lower priority than pcap - TIKA-4174 --> <magic priority="55"> <match minShouldMatch="2"> <match value="user-agent:" type="stringignorecase" offset="0"/> @@ -2927,7 +2928,7 @@ <mime-type type="application/vnd.tcpdump.pcap"> <_comment>TCPDump pcap packet capture</_comment> - <magic priority="50"> + <magic priority="60"> <match value="0xa1b2c3d4" type="big32" offset="0" /> <match value="0xd4c3b2a1" type="big32" offset="0" /> </magic> @@ -2938,7 +2939,7 @@ <mime-type type="application/vnd.tcpdump.pcapng"> <_comment>TCPDump next gen pcap packet capture</_comment> <tika:link>https://www.ietf.org/staging/draft-tuexen-opsawg-pcapng-02.html</tika:link> - <magic priority="50"> + <magic priority="60"> <match value="0x0A0D0D0A" type="string" offset="0"> <!-- Could only find examples of the second. I have not tested the first --> <match value="0xa1b2c3d4" type="big32" offset="8" />