Author: dom
Date: 2006-03-05 10:50:23 +0000 (Sun, 05 Mar 2006)
New Revision: 738
Modified:
trunk/Changes
trunk/t/31_search.t
Log:
Further fix for 302 status change (references #88)
Modified: trunk/Changes
===================================================================
--- trunk/Changes 2006-03-05 10:39:39 UTC (rev 737)
+++ trunk/Changes 2006-03-05 10:50:23 UTC (rev 738)
@@ -13,6 +13,7 @@
Fix <link> in RSS to point to RecentChanges page, not the feed itself.
#67 Default website for a page is now http://
Fix mod_perl redirect bug.
+ Fix test failure with CGI.pm 3.16.
0.51 15 November 2005
Important changes:
Modified: trunk/t/31_search.t
===================================================================
--- trunk/t/31_search.t 2006-03-05 10:39:39 UTC (rev 737)
+++ trunk/t/31_search.t 2006-03-05 10:50:23 UTC (rev 738)
@@ -81,7 +81,7 @@
return_output => 1,
vars => { search => "weebl" },
);
- unlike( $output, qr/Status: 302 (?:Moved|Found)/,
+ unlike( $output, qr/Status: 302/,
"no redirect if match only in body");
# One hit in title should redirect to that page.
@@ -89,7 +89,7 @@
return_output => 1,
vars => { search => "want pie now"
},
);
- like( $output, qr/Status: 302 (?:Moved|Found)/,
+ like( $output, qr/Status: 302/,
"prints redirect on single hit and match in title" );
# Old versions of CGI.pm mistakenly print location: instead of Location:
like( $output,
Show replies by thread