Got rid of the sanitizing of a symlink's link string because it
authorWayne Davison <wayned@samba.org>
Tue, 2 May 2006 16:36:07 +0000 (16:36 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 2 May 2006 16:36:07 +0000 (16:36 +0000)
is happening too early to work correctly (before we know what
our destination-directory's depth in the module will be).

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