Author: ate
Date: Wed May 11 15:22:16 2011
New Revision: 1101919
URL: http://svn.apache.org/viewvc?rev=1101919&view=rev
Log:
JS2-1253: enable generic ServletRequestCleanupService through dedicated filter
Modified:
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml
portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml
Modified:
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml?rev=1101919&r1=1101918&r2=1101919&view=diff
==============================================================================
---
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml
(original)
+++
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml
Wed May 11 15:22:16 2011
@@ -41,6 +41,11 @@
</context-param>
<filter>
+ <filter-name>ServletRequestCleanupFilter</filter-name>
+
<filter-class>org.apache.jetspeed.util.ServletRequestCleanupFilter</filter-class>
+ </filter>
+
+ <filter>
<filter-name>JetspeedPrincipalManagementPortlet</filter-name>
<filter-class>org.apache.jetspeed.portlets.wicket.JetspeedContextAwareWicketFilter</filter-class>
<init-param>
@@ -122,6 +127,11 @@
</filter>
<filter-mapping>
+ <filter-name>ServletRequestCleanupFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <filter-mapping>
<filter-name>PortalSiteManagerApplication</filter-name>
<url-pattern>/portalSiteManager/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
Modified:
portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml?rev=1101919&r1=1101918&r2=1101919&view=diff
==============================================================================
---
portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml
(original)
+++
portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml
Wed May 11 15:22:16 2011
@@ -31,6 +31,11 @@ limitations under the License.
</context-param>
<filter>
+ <filter-name>ServletRequestCleanupFilter</filter-name>
+
<filter-class>org.apache.jetspeed.util.ServletRequestCleanupFilter</filter-class>
+ </filter>
+
+ <filter>
<filter-name>XXSUrlAttackFilter</filter-name>
<filter-class>org.apache.jetspeed.engine.servlet.XXSUrlAttackFilter</filter-class>
</filter>
@@ -63,6 +68,11 @@ limitations under the License.
-->
<filter-mapping>
+ <filter-name>ServletRequestCleanupFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <filter-mapping>
<filter-name>XXSUrlAttackFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]