You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/06/15 16:16:57 UTC

[tomcat] branch 9.0.x updated (b2ceefd -> 3150d7e)

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

markt pushed a change to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git.


    from b2ceefd  Update to OWB 2.0.17
     new 86fbb60  Remove unnecessary entry now Tomcat checks extensions case insensitively
     new 3150d7e  Add support for application/wasm media type

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:
 conf/web.xml                                                 | 4 ++++
 java/org/apache/catalina/startup/MimeTypeMappings.properties | 1 +
 res/scripts/check-mime.pl                                    | 2 +-
 webapps/docs/changelog.xml                                   | 4 ++++
 4 files changed, 10 insertions(+), 1 deletion(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[tomcat] 02/02: Add support for application/wasm media type

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

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 3150d7eb472bfd4aa0d15aeabe81e9cf2d5b17e3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Jun 15 17:15:36 2020 +0100

    Add support for application/wasm media type
---
 conf/web.xml                                                 | 4 ++++
 java/org/apache/catalina/startup/MimeTypeMappings.properties | 1 +
 res/scripts/check-mime.pl                                    | 1 +
 webapps/docs/changelog.xml                                   | 4 ++++
 4 files changed, 10 insertions(+)

diff --git a/conf/web.xml b/conf/web.xml
index 99d517d..bd17e85 100644
--- a/conf/web.xml
+++ b/conf/web.xml
@@ -4253,6 +4253,10 @@
         <mime-type>application/x-doom</mime-type>
     </mime-mapping>
     <mime-mapping>
+        <extension>wasm</extension>
+        <mime-type>application/wasm</mime-type>
+    </mime-mapping>
+    <mime-mapping>
         <extension>wav</extension>
         <mime-type>audio/x-wav</mime-type>
     </mime-mapping>
diff --git a/java/org/apache/catalina/startup/MimeTypeMappings.properties b/java/org/apache/catalina/startup/MimeTypeMappings.properties
index a043c5b..84a7e33 100644
--- a/java/org/apache/catalina/startup/MimeTypeMappings.properties
+++ b/java/org/apache/catalina/startup/MimeTypeMappings.properties
@@ -910,6 +910,7 @@ vtu=model/vnd.vtu
 vxml=application/voicexml+xml
 w3d=application/x-director
 wad=application/x-doom
+wasm=application/wasm
 wav=audio/x-wav
 wax=audio/x-ms-wax
 wbmp=image/vnd.wap.wbmp
diff --git a/res/scripts/check-mime.pl b/res/scripts/check-mime.pl
index 8441f31..a589022 100755
--- a/res/scripts/check-mime.pl
+++ b/res/scripts/check-mime.pl
@@ -94,6 +94,7 @@ my %TOMCAT_ONLY = qw(
     qtif image/x-quicktime
     shtml text/x-server-parsed-html
     ulw audio/basic
+    wasm application/wasm
     z application/x-compress
 );
 
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 316b7b7..fed8f8e 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -62,6 +62,10 @@
         cache implementation that could lead to
         <code>NullPointerException</code>s during class loading. (markt)
       </fix>
+      <add>
+        Add <code>application/wasm</code> to the media types recognised by
+        Tomcat. Based on a PR by Thiago Henrique Hüpner. (markt)
+      </add>
     </changelog>
   </subsection>
   <subsection name="Coyote">


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[tomcat] 01/02: Remove unnecessary entry now Tomcat checks extensions case insensitively

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

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 86fbb60cafaf32cdadad0e1b06336f975d0184fe
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Jun 15 17:02:28 2020 +0100

    Remove unnecessary entry now Tomcat checks extensions case insensitively
---
 res/scripts/check-mime.pl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/res/scripts/check-mime.pl b/res/scripts/check-mime.pl
index 344f801..8441f31 100755
--- a/res/scripts/check-mime.pl
+++ b/res/scripts/check-mime.pl
@@ -95,7 +95,6 @@ my %TOMCAT_ONLY = qw(
     shtml text/x-server-parsed-html
     ulw audio/basic
     z application/x-compress
-    Z application/x-compress
 );
 
 # Mime types, that are defined differently


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org