jottacloud: avoid double url escaping of device/mountpoint - fixes #4697

This commit is contained in:
albertony 2020-10-20 12:43:28 +02:00 committed by buengese
parent 4e2b5389d7
commit ffdd0719e7

View File

@ -553,7 +553,7 @@ func (f *Fs) setEndpointURL() {
if f.opt.Mountpoint == "" { if f.opt.Mountpoint == "" {
f.opt.Mountpoint = defaultMountpoint f.opt.Mountpoint = defaultMountpoint
} }
f.endpointURL = urlPathEscape(path.Join(f.user, f.opt.Device, f.opt.Mountpoint)) f.endpointURL = path.Join(f.user, f.opt.Device, f.opt.Mountpoint)
} }
// readMetaDataForPath reads the metadata from the path // readMetaDataForPath reads the metadata from the path