You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/01/22 07:12:13 UTC
cvs commit: jakarta-tomcat/src/tests/webpages/jsp special-name.foo.jsp
costin 01/01/21 22:12:13
Modified: src/tests/webpages/WEB-INF test-tomcat.xml
Added: src/tests/webpages/jsp special-name.foo.jsp
Log:
Adding a regression test for the previous fix :-)
Probably we need some more funny-named jsps and see if we can
find any new bug.
Revision Changes Path
1.6 +4 -0 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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- test-tomcat.xml 2001/01/21 20:10:40 1.5
+++ test-tomcat.xml 2001/01/22 06:12:13 1.6
@@ -228,6 +228,10 @@
<!-- ==================== Jsp tests ==================== -->
<target name="jsp" depends="init">
+ <gtest request="GET /test/jsp/special-name.foo.jsp HTTP/1.0"
+ returnCode="200"
+ />
+
<gtest request="GET /test/jsp/HelloWorld.jsp HTTP/1.0"
goldenFile="${gdir}/HelloWorld.txt"
/>
1.1 jakarta-tomcat/src/tests/webpages/jsp/special-name.foo.jsp
Index: special-name.foo.jsp
===================================================================
JSP should work even if "-" is included in the file name