Got rid of the sanitizing of a symlink's link string because it
[rsync/rsync.git] / flist.c
diff --git a/flist.c b/flist.c
index 6f1033a..32e51a7 100644 (file)
--- 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