Subject: | url(...) returns empty results with IIS |
the url() function returns an empty value since i upgraded to the 3.20.
the problem is probably coming by the fact the path_info and
script_name contains the same string, and the _name_and_path_from_env
is just blanking it.
sub _name_and_path_from_env {
......
my $protected = quotemeta($raw_path_info);
$raw_script_name =~ s/$protected$//;
this has as side effect that the alst s// of the url function is
giving a 'Use of uninitialized value in substitution (s///) at
(eval...' because the $url is empty.
here a extract of a print Dumper(\%ENV);
'SCRIPT_NAME' => '/sm/list.cgi',
'PATH_INFO' => '/sm/list.cgi',
'REQUEST_URI' => '/sm/list.cgi?inf_cost=1',
'QUERY_STRING' => 'inf_cost=1',