"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
s3: fix url decoding of NextMarker - fixes #3799
Nick Craig-Wood0ecb8bc2f97a
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 5fe8cce29..d11c0ea13 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -1398,6 +1398,12 @@ func (f *Fs) list(ctx context.Context, bucket, directory, prefix string, addBuck} else {marker = resp.NextMarker}+ if urlEncodeListings {+ *marker, err = url.QueryUnescape(*marker)+ if err != nil {+ return errors.Wrapf(err, "failed to URL decode NextMarker %q", *marker)+ }+ }}return nil}