Skip to content
GitLab
Menu
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
3f9827a1
Commit
3f9827a1
authored
Jan 03, 2015
by
Leigh B Stoller
Browse files
Fix imagename regex.
parent
5c312474
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCMV2.pm.in
View file @
3f9827a1
...
...
@@ -2421,7 +2421,7 @@ sub CreateImage($)
defined
($
slice_urn
)
&&
defined
($
sliver_urn
)))
{
return
GeniResponse
->
MalformedArgsResponse
(
"Missing arguments"
);
}
if
(
! ($imagename =~ /^[-\w]*$/)) {
if
(
! ($imagename =~ /^[-\w
\.\+
]*$/)) {
return
GeniResponse
->
MalformedArgsResponse
(
"Improper name argument"
);
}
$
wholedisk
=
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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