Commit c6b13396 authored by Leigh Stoller's avatar Leigh Stoller

Fix regex.

parent ef2350f6
......@@ -134,7 +134,7 @@ usage()
$user = $ARGV[0];
# Untaint the user.
if ($user =~ /^([\w]+)$/) {
if ($user =~ /^([-\w]+)$/) {
$user = $1;
}
else {
......
......@@ -140,7 +140,7 @@ usage()
$user = $ARGV[0];
# Untaint the user.
if ($user =~ /^([\w]+)$/) {
if ($user =~ /^([-\w]+)$/) {
$user = $1;
}
else {
......
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