X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=bin%2FBackupPC_zipCreate;h=93bf95b00a4bd92ec4c3e2e8e1708d45b513ae9b;hb=a585c1cf5b5e8e87050ce29c853b592807d60379;hp=adcb709318e16b76379a730d45ed0fee7056b9fe;hpb=4cdaa6b8a9f5161ee2da4371d68cbbad41248ea0;p=BackupPC.git diff --git a/bin/BackupPC_zipCreate b/bin/BackupPC_zipCreate index adcb709..93bf95b 100755 --- a/bin/BackupPC_zipCreate +++ b/bin/BackupPC_zipCreate @@ -52,7 +52,7 @@ # #======================================================================== # -# Version 3.0.0beta0, released 11 Jul 2006. +# Version 3.0.0beta2, released 11 Nov 2006. # # See http://backuppc.sourceforge.net. # @@ -142,8 +142,7 @@ $Charset = $opts{e} if ( $opts{e} ne "" ); my $PathRemove = $1 if ( $opts{r} =~ /(.+)/ ); my $PathAdd = $1 if ( $opts{p} =~ /(.+)/ ); -if ( $opts{s} !~ /^([\w\s.@\/$(){}[\]-]+)$/ - || $opts{s} =~ m{(^|/)\.\.(/|$)} ) { +if ( $opts{s} =~ m{(^|/)\.\.(/|$)} ) { print(STDERR "$0: bad share name '$opts{s}'\n"); exit(1); }