Commit 84810e4d authored by Robert Ricci's avatar Robert Ricci
Browse files

Added '.' to the allowed characters in an image name.

parent 6d43b701
......@@ -38,7 +38,7 @@ $imageid = shift @ARGV;
#
# Untaint the argument.
#
if ($imageid =~ /^([-\@\w\+]+)$/) {
if ($imageid =~ /^([-\@\w\+.]+)$/) {
$imageid = $1;
} else {
die("Invalid image '$imageid' contains illegal characters.\n");
......
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