Commit 8b8de3aa authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor change to regex.

parent ff727859
......@@ -121,7 +121,7 @@ my (undef,undef,$unix_uid) = getpwnam($user) or
die("*** $0:\n".
" No such user $user\n");
if (!($localfile =~ /^([\w\.\_\-+\/]+)$/)) {
if (!($localfile =~ /^([\w\.\_\-+\/:]+)$/)) {
die("*** $0:\n".
" Illegal local filename given: $localfile\n");
} 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