[java-identity-provider COMMIT] /trunk/idp-war/src/main/webapp/WEB-INF/web.xml
noreply at shibboleth.net
noreply at shibboleth.net
Wed Jun 4 16:57:47 EDT 2014
Author: scantor
Date: Wed Jun 4 16:57:47 2014
New Revision: 6044
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6044&view=rev
Log:
Provisionally add UTF-8 filter.
Modified:
trunk/idp-war/src/main/webapp/WEB-INF/web.xml
Modified: trunk/idp-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-war/src/main/webapp/WEB-INF/web.xml?rev=6044&r1=6043&r2=6044&view=diff
==============================================================================
--- trunk/idp-war/src/main/webapp/WEB-INF/web.xml (original)
+++ trunk/idp-war/src/main/webapp/WEB-INF/web.xml Wed Jun 4 16:57:47 2014
@@ -19,6 +19,18 @@
</listener>
<!-- Filters and filter mappings -->
+ <filter>
+ <filter-name>CharacterEncodingFilter</filter-name>
+ <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
+ <init-param>
+ <param-name>encoding</param-name>
+ <param-value>UTF-8</param-value>
+ </init-param>
+ <init-param>
+ <param-name>forceEncoding</param-name>
+ <param-value>true</param-value>
+ </init-param>
+ </filter>
<filter>
<filter-name>CookieBufferingFilter</filter-name>
<filter-class>net.shibboleth.utilities.java.support.net.CookieBufferingFilter</filter-class>
@@ -50,6 +62,10 @@
<url-pattern>/profile/SAML2/Redirect/SSO</url-pattern>
<url-pattern>/profile/SAML2/POST/SSO</url-pattern>
<url-pattern>/profile/SAML2/POST-SimpleSign/SSO</url-pattern>
+ </filter-mapping>
+ <filter-mapping>
+ <filter-name>CharacterEncodingFilter</filter-name>
+ <url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>RequestResponseContextFilter</filter-name>
More information about the commits
mailing list