From: Wayne Davison Date: Tue, 2 May 2006 16:36:07 +0000 (+0000) Subject: Got rid of the sanitizing of a symlink's link string because it X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/b2d4639543c91a2186517569945f835d55c7affc Got rid of the sanitizing of a symlink's link string because it is happening too early to work correctly (before we know what our destination-directory's depth in the module will be). --- diff --git a/flist.c b/flist.c index 6f1033a5..32e51a7b 100644 --- a/flist.c +++ b/flist.c @@ -663,8 +663,6 @@ static struct file_struct *receive_file_entry(struct file_list *flist, if (linkname_len) { file->u.link = bp; read_sbuf(f, bp, linkname_len - 1); - if (sanitize_paths) - sanitize_path(bp, bp, "", lastdir_depth); bp += linkname_len; } #endif