Commit 3200d856 authored by Leigh Stoller's avatar Leigh Stoller

Allow ftp/http/https in LookupByURL().

parent e6d0a5bc
......@@ -137,7 +137,7 @@ sub LookupByURL($$)
my ($class, $url) = @_;
return undef
if (! ($url =~ /^http/));
if (! ($url =~ /^(ftp|http|https):/));
my $safe_url = DBQuoteSpecial($url);
......
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