mirror of
https://github.com/rclone/rclone.git
synced 2025-01-10 16:28:30 +01:00
dropox: fix ChangeNotify was unable to decrypt errors
Before this fix, the dropbox backend wasn't decoding the file names received in changenotify events into rclone standard format. This meant that changenotify events for filenames which had encoded characters were failing to be decrypted properly if wrapped in crypt. See: https://forum.rclone.org/t/rclone-vfs-cache-says-file-name-too-long/31535
This commit is contained in:
parent
9563a770a1
commit
28925414b8
@ -1435,7 +1435,7 @@ func (f *Fs) changeNotifyRunner(ctx context.Context, notifyFunc func(string, fs.
|
|||||||
}
|
}
|
||||||
|
|
||||||
if entryPath != "" {
|
if entryPath != "" {
|
||||||
notifyFunc(entryPath, entryType)
|
notifyFunc(f.opt.Enc.ToStandardPath(entryPath), entryType)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !changeList.HasMore {
|
if !changeList.HasMore {
|
||||||
|
Loading…
Reference in New Issue
Block a user