larryi 01/05/16 17:09:09
Modified: src/tests/webpages/WEB-INF test-tomcat.xml
Log:
A few more test cases to check if JSP source is served
Revision Changes Path
1.30 +31 -1 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.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- test-tomcat.xml 2001/05/15 13:09:16 1.29
+++ test-tomcat.xml 2001/05/17 00:09:06 1.30
@@ -16,7 +16,7 @@
early tests.
-->
- <property name="revision" value="$Revision: 1.29 $" />
+ <property name="revision" value="$Revision: 1.30 $" />
<property name="host" value="127.0.0.1" />
<property name="port" value="8080" />
<property name="outputType" value="text" />
@@ -1114,6 +1114,36 @@
</target>
<target name="security_chk">
+ <gtest description="This URL should return 404 Not Found"
+ request="GET /test/jsp/HelloWorld.jsp. HTTP/1.0"
+ returnCode="${http.protocol} 404"
+ />
+
+ <gtest description="This URL should return 404 Not Found"
+ request="GET /test/jsp/HelloWorld.jsp%2E HTTP/1.0"
+ returnCode="${http.protocol} 404"
+ />
+
+ <gtest description="This URL should return 404 Not Found"
+ request="GET /test/jsp/HelloWorld.jsp%252E HTTP/1.0"
+ returnCode="${http.protocol} 404"
+ />
+
+ <gtest description="This URL should return 404 Not Found"
+ request="GET /test/jsp/HelloWorld.jsp/ HTTP/1.0"
+ returnCode="${http.protocol} 404"
+ />
+
+ <gtest description="This URL should return 404 Not Found"
+ request="GET /test/jsp/HelloWorld.jsp%5C HTTP/1.0"
+ returnCode="${http.protocol} 404"
+ />
+
+ <gtest description="This URL should return 404 Not Found"
+ request="GET /test/jsp/HelloWorld.jsp%255C HTTP/1.0"
+ returnCode="${http.protocol} 404"
+ />
+
<gtest description="This URL should return 404 Not Found"
request="GET /test/jsp/HelloWorld.jsp%20 HTTP/1.0"
returnCode="${http.protocol} 404"