You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/08/07 21:37:40 UTC
svn commit: r1511453 - /tomcat/trunk/webapps/examples/WEB-INF/web.xml
Author: markt
Date: Wed Aug 7 19:37:39 2013
New Revision: 1511453
URL: http://svn.apache.org/r1511453
Log:
Part of fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=48550
Enable the character encoding filter for the examples web-app with UTF-8.
Modified:
tomcat/trunk/webapps/examples/WEB-INF/web.xml
Modified: tomcat/trunk/webapps/examples/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/web.xml?rev=1511453&r1=1511452&r2=1511453&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/web.xml (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/web.xml Wed Aug 7 19:37:39 2013
@@ -48,11 +48,11 @@
<filter-class>org.apache.catalina.filters.SetCharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
- <param-value>EUC_JP</param-value>
+ <param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>ignore</param-name>
- <param-value>true</param-value>
+ <param-value>false</param-value>
</init-param>
</filter>
@@ -87,12 +87,10 @@
<!-- Example filter mapping to apply the "Set Character Encoding" filter
to *all* requests processed by this web application -->
-<!--
<filter-mapping>
<filter-name>Set Character Encoding</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
--->
<!--
<filter-mapping>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org