From e9da0e496b80451a57b4a49f0b41d593acae3c7a Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Wed, 2 Sep 2009 11:25:55 +0000 Subject: [PATCH] [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 --- .../src/main/webapp/WEB-INF/web.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 + /* +