Author: violetagg Date: Thu May 4 06:13:03 2017 New Revision: 1793736 URL: http://svn.apache.org/viewvc?rev=1793736&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=61047 Add MIME mapping for woff2 fonts in the default web.xml. Patch provided by Justin Williamson.
Modified: tomcat/trunk/conf/web.xml tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/conf/web.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/conf/web.xml?rev=1793736&r1=1793735&r2=1793736&view=diff ============================================================================== --- tomcat/trunk/conf/web.xml (original) +++ tomcat/trunk/conf/web.xml Thu May 4 06:13:03 2017 @@ -4310,6 +4310,10 @@ <mime-type>application/x-font-woff</mime-type> </mime-mapping> <mime-mapping> + <extension>woff2</extension> + <mime-type>font/woff2</mime-type> + </mime-mapping> + <mime-mapping> <extension>wpd</extension> <mime-type>application/vnd.wordperfect</mime-type> </mime-mapping> Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1793736&r1=1793735&r2=1793736&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Thu May 4 06:13:03 2017 @@ -108,6 +108,10 @@ Update the Servlet 4.0 implementation to add support for obtaining trailer fields from chunked HTTP requests. (markt) </update> + <add> + <bug>61047</bug>: Add MIME mapping for woff2 fonts in the default + web.xml. Patch provided by Justin Williamson. (violetagg) + </add> </changelog> </subsection> <subsection name="Coyote"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org