You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by dm...@apache.org on 2019/10/28 23:00:00 UTC

[tika] branch branch_1x updated (51aa28c -> 98ea2f0)

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

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


    from 51aa28c  improve unit test robustness
     new 593e29d  TIKA-2894: Add mime type detection support for WebAssembly
     new 98ea2f0  TIKA-2894: Add mime type detection support for WebAssembly

The 2 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.


Summary of changes:
 CHANGES.txt                                                    |  2 ++
 .../src/main/resources/org/apache/tika/mime/tika-mimetypes.xml | 10 ++++++++++
 2 files changed, 12 insertions(+)


[tika] 02/02: TIKA-2894: Add mime type detection support for WebAssembly

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

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

commit 98ea2f0ee380c09b7d8210e53217ea8930918a4a
Author: David Meikle <da...@meikle.io>
AuthorDate: Mon Oct 28 22:59:50 2019 +0000

    TIKA-2894: Add mime type detection support for WebAssembly
---
 CHANGES.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CHANGES.txt b/CHANGES.txt
index 9024b5d..d52409e 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -13,6 +13,8 @@ Release 1.23 - ??/??/???
 
    * Add parser for XLIFF v1.2 files (TIKA-2975).
 
+   * Add mime type detection support for WebAssembly (TIKA-2894).
+
 Release 1.22 - 07/29/2019
 
    * NOTE: tika-server no longer hard-codes the HtmlParser to handle


[tika] 01/02: TIKA-2894: Add mime type detection support for WebAssembly

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

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

commit 593e29d62347e6352d8ec01ad82573e8ad1f8dab
Author: David Meikle <da...@meikle.io>
AuthorDate: Mon Oct 28 22:38:29 2019 +0000

    TIKA-2894: Add mime type detection support for WebAssembly
    
    (cherry picked from commit 31304f8ba1aad16d76c3381d25efc245c32743e8)
---
 .../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 459da23..dd7a206 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
@@ -2807,6 +2807,16 @@
     <glob pattern="*.warc"/>
   </mime-type>
 
+  <mime-type type="application/wasm">
+    <acronym>Wasm</acronym>
+    <_comment>Web Assembly</_comment>
+    <magic priority="50">
+      <match value="0x6d736100" type="little32" offset="0" />
+      <match value="0x6d736100" type="big32" offset="0" />
+    </magic>
+    <glob pattern="*.wasm"/>
+  </mime-type>
+
   <mime-type type="application/watcherinfo+xml"/>
   <mime-type type="application/whoispp-query"/>
   <mime-type type="application/whoispp-response"/>