X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/ea124cb324be2dffb97fe44fa534b24a3060479d..8adc22e3623a42c42e08d6080bef416091cae620:/flist.c diff --git a/flist.c b/flist.c index ad859bc4..4f67463e 100644 --- a/flist.c +++ b/flist.c @@ -655,6 +655,8 @@ 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 (lp_munge_symlinks(module_id)) + sanitize_path(bp, bp, "", lastdir_depth, NULL); bp += linkname_len; } #endif