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

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


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

commit 4c5246e99df9bc542cd0078077126a2a15547031
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 0cdf1c2faa..595e02cfc7 100644
--- a/conf/web.xml
+++ b/conf/web.xml
@@ -3722,6 +3722,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 3cb4a2c036..a64f979092 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 11.0.14 (markt)" rtext="2025-11-10">
   <subsection name="Catalina">


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

Reply via email to