projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Added BackupPC::Xfer::Protocol as a common class for each Xfer
[BackupPC.git]
/
bin
/
BackupPC_archive
diff --git
a/bin/BackupPC_archive
b/bin/BackupPC_archive
index
7d38e81
..
87ed842
100644
(file)
--- a/
bin/BackupPC_archive
+++ b/
bin/BackupPC_archive
@@
-64,7
+64,7
@@
if ( @ARGV != 3 ) {
}
$user = $1 if ( $ARGV[0] =~ /(.+)/ );
$client = $1 if ( $ARGV[1] =~ /(.+)/ );
-if ( $ARGV[2] !~ /^([\w
.
]+)$/ ) {
+if ( $ARGV[2] !~ /^([\w
\.\s-
]+)$/ ) {
print("$0: bad reqFileName (arg #3): $ARGV[2]\n");
exit(1);
}