X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=bin%2FBackupPC_zipCreate;h=46731d80c49f4d6e0bbd87165e3d7a553c37dfc3;hp=adcb709318e16b76379a730d45ed0fee7056b9fe;hb=refs%2Ftags%2Fv3_0_0beta1;hpb=e6fc5dc667cbf97c374da04c55d24e4ea83ec865 diff --git a/bin/BackupPC_zipCreate b/bin/BackupPC_zipCreate index adcb709..46731d8 100755 --- a/bin/BackupPC_zipCreate +++ b/bin/BackupPC_zipCreate @@ -52,7 +52,7 @@ # #======================================================================== # -# Version 3.0.0beta0, released 11 Jul 2006. +# Version 3.0.0beta1, released 30 Jul 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); }