From: Maria Odea B. Ching Date: Wed, 2 Sep 2009 11:25:55 +0000 (+0000) Subject: [MRM-1243] Encoding issues with Archiva UI: add Spring CharacterEncodingFilter X-Git-Tag: archiva-1.3~111 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e9da0e496b80451a57b4a49f0b41d593acae3c7a;p=archiva.git [MRM-1243] Encoding issues with Archiva UI: add Spring CharacterEncodingFilter submitted by Julien Henry o add filter to force utf-8 encoding git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@810457 13f79535-47bb-0310-9956-ffa450edef68 --- 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 11364cb48..b4fb373d0 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 @@ -40,6 +40,24 @@ webwork org.apache.struts2.dispatcher.FilterDispatcher + + + encodingFilter + org.springframework.web.filter.CharacterEncodingFilter + + encoding + UTF-8 + + + forceEncoding + true + + + + + encodingFilter + /* +