You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by la...@apache.org on 2003/02/16 23:23:08 UTC
cvs commit: jakarta-tomcat/src/tests/webpages/WEB-INF test-tomcat.xml
larryi 2003/02/16 14:23:08
Modified: src/tests/webpages/WEB-INF test-tomcat.xml
Log:
Update test to reflect new behavior for trailing "/." and "/foo/..".
Revision Changes Path
1.54 +3 -6 jakarta-tomcat/src/tests/webpages/WEB-INF/test-tomcat.xml
Index: test-tomcat.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/tests/webpages/WEB-INF/test-tomcat.xml,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- test-tomcat.xml 27 Apr 2002 01:44:11 -0000 1.53
+++ test-tomcat.xml 16 Feb 2003 22:23:08 -0000 1.54
@@ -1252,15 +1252,12 @@
<httpClient unless="not.standalone" >
<httpRequest path="/test/jsp/ShowPathInfo.jsp/."
method="GET" />
- <httpStatusMatch match="200"/>
- <responseMatch match="getRequestURI: /test/jsp/ShowPathInfo.jsp"/>
+ <httpStatusMatch match="404"/>
</httpClient>
<httpClient unless="not.standalone" >
<httpRequest path="/test/jsp/ShowPathInfo.jsp/foo/.."
method="GET" />
- <httpStatusMatch match="200"/>
- <responseMatch match="getRequestURI: /test/jsp/ShowPathInfo.jsp"/>
- <responseMatch match="getPathInfo: null"/>
+ <httpStatusMatch match="404"/>
</httpClient>
<httpClient >
<httpRequest path="/test/ShowPathInfo.jsp/./"
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org