Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
3200d856
Commit
3200d856
authored
Aug 29, 2012
by
Leigh B Stoller
Browse files
Allow ftp/http/https in LookupByURL().
parent
e6d0a5bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/Image.pm.in
View file @
3200d856
...
...
@@ -137,7 +137,7 @@ sub LookupByURL($$)
my
($
class
,
$
url
)
=
@
_
;
return
undef
if
(
! ($url =~ /^
http
/));
if
(
! ($url =~ /^
(ftp|http|https):
/));
my
$
safe_url
=
DBQuoteSpecial
($
url
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment