mirror of
https://github.com/rclone/rclone.git
synced 2026-11-04 11:43:22 +00:00
Since control characters in names are no longer encoded by default, a file uploaded with a newline in its name keeps it on the server. Some restricted shells, such as the one on rsync.net, end the command at a newline even when it is quoted, so the hash command ran on a different path and failed, or could have hashed a different file. rclone now doesn't use a remote command to hash a file with a newline in its name on a unix shell, and reports the hash as unavailable instead.