"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
b2: fixed possible crash when accessing Backblaze b2 remote
lluuaapp35b2ca642cdf
diff --git a/backend/b2/b2.go b/backend/b2/b2.goindex 75589bfaf..c15b02d93 100644--- a/backend/b2/b2.go+++ b/backend/b2/b2.go@@ -708,7 +708,7 @@ func (f *Fs) list(ctx context.Context, bucket, directory, prefix string, addBuckremote := file.Name[len(prefix):]// Check for directoryisDirectory := remote == "" || strings.HasSuffix(remote, "/")- if isDirectory {+ if isDirectory && len(remote) > 1 {remote = remote[:len(remote)-1]}if addBucket {