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

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


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 68e512cbef Align file extension to media type mapping with httpd
68e512cbef is described below

commit 68e512cbefb56bd7e5457cb6b54b7b436a764006
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Nov 21 17:49:35 2025 +0000

    Align file extension to media type mapping with httpd
---
 conf/web.xml               | 8 ++++++++
 webapps/docs/changelog.xml | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/conf/web.xml b/conf/web.xml
index dba845f909..7f1db74dc7 100644
--- a/conf/web.xml
+++ b/conf/web.xml
@@ -3742,6 +3742,14 @@
         <extension>sql</extension>
         <mime-type>application/x-sql</mime-type>
     </mime-mapping>
+    <mime-mapping>
+        <extension>sqlite</extension>
+        <mime-type>application/vnd.sqlite3</mime-type>
+    </mime-mapping>
+    <mime-mapping>
+        <extension>sqlite3</extension>
+        <mime-type>application/vnd.sqlite3</mime-type>
+    </mime-mapping>
     <mime-mapping>
         <extension>src</extension>
         <mime-type>application/x-wais-source</mime-type>
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 4ba45899d3..c0f24d7efc 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -159,6 +159,14 @@
       </add>
     </changelog>
   </subsection>
+  <subsection name="Other">
+    <changelog>
+      <update>
+        Update file extension to media type mappings to align with the current
+        list used by the Apache Web Server (httpd). (markt)
+      </update>
+    </changelog>
+  </subsection>
 </section>
 <section name="Tomcat 10.1.49 (schultz)" rtext="Release in progress">
   <subsection name="Catalina">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to