mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 03:48:27 +08: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
f49be033c6
commit
918bd6d3c3
|
@ -1435,7 +1435,7 @@ func (f *Fs) changeNotifyRunner(ctx context.Context, notifyFunc func(string, fs.
|
|||
}
|
||||
|
||||
if entryPath != "" {
|
||||
notifyFunc(entryPath, entryType)
|
||||
notifyFunc(f.opt.Enc.ToStandardPath(entryPath), entryType)
|
||||
}
|
||||
}
|
||||
if !changeList.HasMore {
|
||||
|
|
Loading…
Reference in New Issue
Block a user