aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-04-16 14:32:03 +1000
committerOlivier Lamy <olamy@apache.org>2014-04-16 14:32:03 +1000
commit90e775b84bcc284eeafa6c8e08e1cd039edc96c0 (patch)
tree794d287e2cd699aea4383c2f4e87c6c9f0952282
parentafd02f3a1343b7131d4a3985b9e08b922a2eba0d (diff)
downloadarchiva-90e775b84bcc284eeafa6c8e08e1cd039edc96c0.tar.gz
archiva-90e775b84bcc284eeafa6c8e08e1cd039edc96c0.zip
[MRM-1830] Charset applied to binary repository HTTP responses
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml18
1 files changed, 17 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml
index 240248035..e1ac74b03 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml
@@ -57,7 +57,23 @@
<filter-mapping>
<filter-name>encodingFilter</filter-name>
- <url-pattern>/*</url-pattern>
+ <url-pattern>/js/*</url-pattern>
+ </filter-mapping>
+ <filter-mapping>
+ <filter-name>encodingFilter</filter-name>
+ <url-pattern>/css/*</url-pattern>
+ </filter-mapping>
+ <filter-mapping>
+ <filter-name>encodingFilter</filter-name>
+ <url-pattern>/feeds/*</url-pattern>
+ </filter-mapping>
+ <filter-mapping>
+ <filter-name>encodingFilter</filter-name>
+ <url-pattern>/restServices/*</url-pattern>
+ </filter-mapping>
+ <filter-mapping>
+ <filter-name>encodingFilter</filter-name>
+ <url-pattern>*.html</url-pattern>
</filter-mapping>
<listener>