]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1830] Charset applied to binary repository HTTP responses
authorOlivier Lamy <olamy@apache.org>
Wed, 16 Apr 2014 04:32:03 +0000 (14:32 +1000)
committerOlivier Lamy <olamy@apache.org>
Wed, 16 Apr 2014 04:32:03 +0000 (14:32 +1000)
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml

index 240248035b0aa5b2e3d08cf9781713c53a143d38..e1ac74b03d9b5502b81446d721a96f9624d6a32a 100644 (file)
 
   <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>