You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by jo...@apache.org on 2005/05/31 15:33:39 UTC

svn commit: r179213 - in /httpd/test/trunk/perl-framework/t: htdocs/modules/include/virtualq.shtml modules/include.t

Author: jorton
Date: Tue May 31 06:33:38 2005
New Revision: 179213

URL: http://svn.apache.org/viewcvs?rev=179213&view=rev
Log:
Add regression test for mod_include QUERY_STRING corruption issue
based on test case provided by Deomid Ryabkov, PR 12655.

Added:
    httpd/test/trunk/perl-framework/t/htdocs/modules/include/virtualq.shtml
Modified:
    httpd/test/trunk/perl-framework/t/modules/include.t

Added: httpd/test/trunk/perl-framework/t/htdocs/modules/include/virtualq.shtml
URL: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/htdocs/modules/include/virtualq.shtml?rev=179213&view=auto
==============================================================================
--- httpd/test/trunk/perl-framework/t/htdocs/modules/include/virtualq.shtml (added)
+++ httpd/test/trunk/perl-framework/t/htdocs/modules/include/virtualq.shtml Tue May 31 06:33:38 2005
@@ -0,0 +1,4 @@
+<!--#echo var="QUERY_STRING" -->
+<!--#include virtual="if1.shtml?$QUERY_STRING" -->
+<!--#include virtual="inc-two.shtml" -->
+<!--#echo var="QUERY_STRING" -->

Modified: httpd/test/trunk/perl-framework/t/modules/include.t
URL: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/t/modules/include.t?rev=179213&r1=179212&r2=179213&view=diff
==============================================================================
--- httpd/test/trunk/perl-framework/t/modules/include.t (original)
+++ httpd/test/trunk/perl-framework/t/modules/include.t Tue May 31 06:33:38 2005
@@ -92,6 +92,7 @@
 "exec/on/cgi.shtml"     =>    "perl cgi",
 "ranged-virtual.shtml"  =>    "x"x32768,
 "var128.shtml"          =>    "x"x126 . "yz",  # PR#32985
+"virtualq.shtml?foo=bar" =>   "foo=bar  pass    inc-two.shtml body  foo=bar", # PR#12655
 );
 
 # now, assuming 2.1 has the proper behavior across the board,