Commit a5f71e42 authored by Robert Ricci's avatar Robert Ricci

Added ',' to the list of command-line characters.

parent 498f3db1
......@@ -92,7 +92,7 @@ do {{
next unless $command; # Don't complain if they leave a blank command
# Don't allow any naughty characters - kick the user off if they try
foreach $string ($command, @args) {
if ($string !~ m|^([A-Za-z0-9._\-/=\+]*)$|) {
if ($string !~ m|^([A-Za-z0-9._\-/=\+,\,]*)$|) {
print "Sorry, you used a forbidden character in your command line\n";
print "Please contact testbed-ops\@emulab.net if you believe this message is in error\n";
&debug("String was $string\n");
......
......@@ -92,7 +92,7 @@ do {{
next unless $command; # Don't complain if they leave a blank command
# Don't allow any naughty characters - kick the user off if they try
foreach $string ($command, @args) {
if ($string !~ m|^([A-Za-z0-9._\-/=\+]*)$|) {
if ($string !~ m|^([A-Za-z0-9._\-/=\+,\,]*)$|) {
print "Sorry, you used a forbidden character in your command line\n";
print "Please contact testbed-ops\@emulab.net if you believe this message is in error\n";
&debug("String was $string\n");
......
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