mirror of
https://github.com/rclone/rclone.git
synced 2026-10-28 14:28:38 -04:00
The resume start value returned by the NetStorage list API is joined onto the endpoint URL as a URL reference to build the next listing request. A value beginning with `//` is a network-path reference, so a server (or an on-path attacker when `protocol = http`) which returns `//other.example/path` could make rclone send the next request, signed with the account secret, to a host other than the configured one. Use rest.URLJoinRoot so the resume token can only change the path.