remm 2003/07/29 07:23:35
Modified: catalina/src/share/org/apache/catalina/servlets
DefaultServlet.java
Log:
- Normalizing the path here seems useless (note: this cannot cause any
security issues). If the path needs to be normalized during request dispatching,
then it should be done in the request dispatcher itself, not here (please send a
test case
where it breaks if there's a problem - or better, add one in the tester - so that
I can fix it).
Revision Changes Path
1.16 +5 -5
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java
Index: DefaultServlet.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/DefaultServlet.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- DefaultServlet.java 29 Jul 2003 12:19:06 -0000 1.15
+++ DefaultServlet.java 29 Jul 2003 14:23:35 -0000 1.16
@@ -487,7 +487,7 @@
if ((result == null) || (result.equals(""))) {
result = "/";
}
- return normalize(result);
+ return (result);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]