Commit 3200d856 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

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);
Supports Markdown
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