Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
8b8de3aa
Commit
8b8de3aa
authored
Oct 08, 2014
by
Leigh B Stoller
Browse files
Minor change to regex.
parent
ff727859
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/fetchtar.proxy.in
View file @
8b8de3aa
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment