Commit 3f9827a1 authored by Leigh B Stoller's avatar Leigh B Stoller

Fix imagename regex.

parent 5c312474
......@@ -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
......
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