Author: remy.maucherat(a)jboss.com
Date: 2008-12-16 09:39:26 -0500 (Tue, 16 Dec 2008)
New Revision: 881
Modified:
trunk/java/org/apache/catalina/servlets/DefaultServlet.java
Log:
- Filter out request URI, similar to what was done in Jasper.
Modified: trunk/java/org/apache/catalina/servlets/DefaultServlet.java
===================================================================
--- trunk/java/org/apache/catalina/servlets/DefaultServlet.java 2008-12-11 13:57:16 UTC
(rev 880)
+++ trunk/java/org/apache/catalina/servlets/DefaultServlet.java 2008-12-16 14:39:26 UTC
(rev 881)
@@ -643,9 +643,8 @@
// to be ignored by the resource that is including us.
// Therefore, the only way we can let the including resource
// know is by including warning message in response
- response.getWriter().write(
- sm.getString("defaultServlet.missingResource",
- requestUri));
+
response.getWriter().write(sm.getString("defaultServlet.missingResource",
+ RequestUtil.filter(requestUri)));
}
response.sendError(HttpServletResponse.SC_NOT_FOUND,
Show replies by date