Files
rclone/backend
Nick Craig-Wood e426492549 local: fix hang listing the root of a Windows network share - fixes #10280
Since v1.75.0 using a bare UNC share such as \\server\share as the
root of a local remote hung forever on Windows.

This was caused by the check that names stay inside the root. This
calls filepath.Rel which never returns on Windows when the base is a
bare UNC share and the target is the same share with a trailing
separator, which is what filepath.Join makes of the root and "".

This fixes it by treating the root and the root with a trailing
separator as the root itself without calling filepath.Rel.
2026-11-07 18:56:55 +00:00
..
2025-02-28 11:31:14 +00:00