[Catalyst-commits] r9892 - in trunk/Catalyst-Controller-WrapCGI: . t

caelum at dev.catalyst.perl.org caelum at dev.catalyst.perl.org
Mon Apr 27 14:12:49 GMT 2009


Author: caelum
Date: 2009-04-27 15:12:49 +0100 (Mon, 27 Apr 2009)
New Revision: 9892

Modified:
   trunk/Catalyst-Controller-WrapCGI/Changes
   trunk/Catalyst-Controller-WrapCGI/t/wrap-cgi.t
Log:
WrapCGI - fix PATH_INFO tests

Modified: trunk/Catalyst-Controller-WrapCGI/Changes
===================================================================
--- trunk/Catalyst-Controller-WrapCGI/Changes	2009-04-27 12:57:19 UTC (rev 9891)
+++ trunk/Catalyst-Controller-WrapCGI/Changes	2009-04-27 14:12:49 UTC (rev 9892)
@@ -1,5 +1,7 @@
 Revision history for Catalyst-Controller-WrapCGI
 
+    - revert PATH_INFO tests to unescaped URIs (caelum)
+
 0.0030  2009-04-27 05:17:17
     - configurable cgi_dir (caelum)
     - support for PATH_INFO and SCRIPT_NAME (caelum)

Modified: trunk/Catalyst-Controller-WrapCGI/t/wrap-cgi.t
===================================================================
--- trunk/Catalyst-Controller-WrapCGI/t/wrap-cgi.t	2009-04-27 12:57:19 UTC (rev 9891)
+++ trunk/Catalyst-Controller-WrapCGI/t/wrap-cgi.t	2009-04-27 14:12:49 UTC (rev 9892)
@@ -19,10 +19,10 @@
 is($response->content, 'foo:bar bar:baz', 'POST to CGI');
 
 $response = request '/cgi-bin/test_pathinfo.cgi/path/%2Finfo';
-is($response->content, '/path//info', 'PATH_INFO is correct');
+is($response->content, '/path/%2Finfo', 'PATH_INFO is correct');
 
 $response = request '/cgi-bin/test_filepathinfo.cgi/path/%2Finfo';
-is($response->content, '/test_filepath_info/path//info',
+is($response->content, '/test_filepath_info/path/%2Finfo',
     'FILEPATH_INFO is correct (maybe)');
 
 $response = request '/cgi-bin/test_scriptname.cgi/foo/bar';




More information about the Catalyst-commits mailing list