X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9585b27678ee8b94f2f260e8d8d61ff4381f2fa3..9217ce30e308db28dc4789ef009ecf553f35097c:/flist.c diff --git a/flist.c b/flist.c index 72dded84..4eaca20f 100644 --- a/flist.c +++ b/flist.c @@ -927,8 +927,11 @@ static struct file_struct *recv_file_entry(struct file_list *flist, bp += SYMLINK_PREFIX_LEN; linkname_len -= SYMLINK_PREFIX_LEN; read_sbuf(f, bp, linkname_len - 1); - } else + } else { read_sbuf(f, bp, linkname_len - 1); + if (sanitize_paths) + sanitize_path(bp, bp, "", lastdir_depth); + } } #endif