On Fri 11 Jun 2004, Dominic Hargreaves dom@earth.li wrote:
t/31_supersearch....................NOK 11# Failed test (t/31_supersearch.t at line 90) # 'Status: 302 Moved # location: http://example.com/wiki.cgi?Want_Pie_Now # # ' # doesn't match '(?-xism:Location: http://example.com/wiki.cgi%5C?Want_Pie_Now)'
This is a CGI.pm thing - older versions are using "location: " instead of "Location: ".
Now I think this is a bug in CGI.pm - HTTP headers are case-sensitive, right? And 2.90's changes does say "1. Fixed bug in redirect header handling."
So, what shall I do? Force people to use 2.90, or change the regexp in the test to accept "location: " as well as "Location: "? The former is correct, but the latter is less annoying.
Kake