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 2001/03/01 18:59:12 UTC
cvs commit: jakarta-tomcat/src/tests/webpages/WEB-INF test-tomcat.xml
larryi 01/03/01 09:59:11
Modified: src/tests/webpages/WEB-INF test-tomcat.xml
Log:
Added a test to check if a file ending with ".jsp%20" is served. It should
result in a 404 Not found error.
Revision Changes Path
1.26 +7 -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.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- test-tomcat.xml 2001/02/28 20:35:15 1.25
+++ test-tomcat.xml 2001/03/01 17:59:03 1.26
@@ -16,7 +16,7 @@
early tests.
-->
- <property name="revision" value="$Revision: 1.25 $" />
+ <property name="revision" value="$Revision: 1.26 $" />
<property name="host" value="127.0.0.1" />
<property name="port" value="8080" />
<property name="outputType" value="text" />
@@ -1102,6 +1102,12 @@
<gtest request="GET /test/meta-inf/Manifest.mf HTTP/1.0"
returnCode="${http.protocol} 4" />
+
+ <gtest description="This URL should return 404 Not Found"
+ request="GET /test/jsp/HelloWorld.jsp%20 HTTP/1.0"
+ returnCode="${http.protocol} 404"
+ />
+
</target>
<!-- ==================== All targets ==================== -->