Holger Parplies wrote:

> correct. The regular expression used for checking the validity of a share
> name in BackupPC_tarCreate 2.1.1-2sarge2 (which is the closest to 2.1.2-6
> I've come across) does not allow ampersands. That's a bug which is fixed in
> BackupPC 3.0.0 (possibly earlier).
> 
> Change line 128 of BackupPC_tarCreate:
> 
> - if ( $opts{s} !~ /^([\w\s\.\/\$-]+)$/ && $opts{s} ne "*" ) {
> + if ( $opts{s} =~ m{(^|/)\.\.(/|$)} ) {

This worked beautifully! Thanks!


-- 
- Matt Miller -
Solutions for Progress
728 South Broad Street
Philadelphia, PA  19146
215-701-6108 (v)
215-972-8109 (f)


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to