]> git.ipfire.org Git - thirdparty/rsync.git/commit
Have receiver strip bogus leading slashes on filenames.
authorWayne Davison <wayned@samba.org>
Mon, 3 Mar 2014 00:37:44 +0000 (16:37 -0800)
committerWayne Davison <wayned@samba.org>
Mon, 3 Mar 2014 00:47:01 +0000 (16:47 -0800)
commit371242e4e8150d4f9cc74cdf2d75d8250535175e
tree6accc8964723b66946640b2dc60b906011bc7d44
parente1bfdf67f3944e4f23202943cc5f535b4b66ee57
Have receiver strip bogus leading slashes on filenames.

If the receiver is running without --relative, it shouldn't be receiving
any filenames with a leading slash.  To ensure that the sender doesn't
try to pull a fast one on us, we now make flist_sort_and_clean() strip a
leading slash even if --relative isn't specified.
flist.c