"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 crash when using --s3-download-url after migration to SDKv2
Nick Craig-Wood1ca3f1267297
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 0c234dad9..38c62c811 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -5829,7 +5829,7 @@ func (o *Object) downloadFromURL(ctx context.Context, bucketPath string, optionsContentEncoding: header("Content-Encoding"),ContentLanguage: header("Content-Language"),ContentType: header("Content-Type"),- StorageClass: types.StorageClass(*header("X-Amz-Storage-Class")),+ StorageClass: types.StorageClass(deref(header("X-Amz-Storage-Class"))),}o.setMetaData(&head)return resp.Body, err