Change sanitize_path() to not use clean_fname() because it removes the
authorDavid Dykstra <dwd@samba.org>
Fri, 6 Nov 1998 17:07:07 +0000 (17:07 +0000)
committerDavid Dykstra <dwd@samba.org>
Fri, 6 Nov 1998 17:07:07 +0000 (17:07 +0000)
commitb5f9e67d57f4e507dcb339a838c959244951f25f
tree3c2b7a17bed8466618ff314b67e75baef85df855
parented06894a01e81e972207519d485f3e63c67de593
Change sanitize_path() to not use clean_fname() because it removes the
trailing slash.  This caused a problem when using "use chroot" and sources
that contained a trailing slash (which prevents the last filename component
of the source from being included in the destination).  Instead, have
sanitize_path() remove "." components and duplicated slashes ("//") itself.
util.c