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
The following commit(s) were added to refs/heads/9.0.x by this push:
new cc67b859ee Align file extension to media type mapping with httpd
cc67b859ee is described below
commit cc67b859ee0bf2122d53bcd1c0cae825b72d1b24
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 eff1388e39..bab50bc051 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 a61b396350..2413921281 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 9.0.112 (remm)" rtext="release in progress">
<subsection name="Catalina">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]