Commit 66d8d89e authored by gerv%gerv.net's avatar gerv%gerv.net

Fallout from previous checkin; need to escape "-" in regexp for some versions of…

Fallout from previous checkin; need to escape "-" in regexp for some versions of Perl, because it interprets it as a range.
parent 1809e275
......@@ -40,7 +40,7 @@ ConnectToDatabase();
quietly_check_login();
if (defined $::FORM{'id'}) {
$::FORM{'id'} =~ s/[^\w-\.]//g;
$::FORM{'id'} =~ s/[^\w\-\.]//g;
$::FORM{'id'} =~ /(.*)(\.(.*))?/;
my $format = GetFormat($1, undef, $3);
......
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