Commit e84963ac authored by Xavier Guimard's avatar Xavier Guimard

Bad $_ use

parent 705c48b6
......@@ -181,7 +181,9 @@ sub locationRulesInit {
push @{ $tsv->{locationProtection}->{$vhost} }, $prot;
push @{ $tsv->{locationRegexp}->{$vhost} }, qr/$url/;
push @{ $tsv->{locationConditionText}->{$vhost} },
/^\(\?#(.*?)\)/ ? $1 : /^(.*?)##(.+)$/ ? $2 : $url;
$cond =~ /^\(\?#(.*?)\)/ ? $1
: $cond =~ /^(.*?)##(.+)$/ ? $2
: $url;
$tsv->{locationCount}->{$vhost}++;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment