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

nick 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 f7d5119  TIKA-3373 Add the *.yml extension for YAML, which is commonly 
used, along with aliases for popular alternate mimetypes for it
f7d5119 is described below

commit f7d5119f496578bfff8bebc470d9fe8f9fdc3860
Author: Nick Burch <n...@gagravarr.org>
AuthorDate: Tue Apr 27 13:05:34 2021 +0100

    TIKA-3373 Add the *.yml extension for YAML, which is commonly used, along 
with aliases for popular alternate mimetypes for it
---
 .../src/main/resources/org/apache/tika/mime/tika-mimetypes.xml     | 7 +++++++
 1 file changed, 7 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 0ea388b..87e50b7 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
@@ -7166,7 +7166,14 @@
 
   <mime-type type="text/x-yaml">
     <_comment>YAML source code</_comment>
+    <alias type="application/x-yaml" />
+    <alias type="application/x-yml" />
+    <alias type="application/yaml" />
+    <alias type="text/vnd.yaml" />
+    <alias type="text/yaml" />
+    <alias type="text/x-yml" />
     <glob pattern="*.yaml"/>
+    <glob pattern="*.yml"/>
     <sub-class-of type="text/plain"/>
   </mime-type>
 

Reply via email to