From 7ab6e3d5fc5b08c63e17609cbc2b825235ffbd85 Mon Sep 17 00:00:00 2001 From: j2blake Date: Fri, 27 Mar 2015 15:39:06 -0400 Subject: [PATCH] VIVO-1008 Don't override the mime type if the servlet container can provide it. In CharsetEncodingFilter, check to see whether the servlet container knows the mime type, before forcing it to "text/html;charset=UTF-8" --- productMods/WEB-INF/web.xml | 55 +++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/productMods/WEB-INF/web.xml b/productMods/WEB-INF/web.xml index f3562aa2..16430f44 100644 --- a/productMods/WEB-INF/web.xml +++ b/productMods/WEB-INF/web.xml @@ -1456,6 +1456,61 @@ /orcid/* + + + + css + text/css + + + gif + image/gif + + + GIF + image/gif + + + htm + text/html + + + html + text/html + + + ico + image/x-icon + + + jpeg + image/jpeg + + + jpg + image/jpeg + + + js + application/javascript + + + png + image/png + + + svg + image/svg+xml + + + txt + text/plain + + + xml + application/xml + +