"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
drive: fix escaped chars in documents during list
Fabian Möller13823a774389
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex bc07c7d3b..8d4cc922e 100644--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -419,7 +419,7 @@ func (f *Fs) list(dirIDs []string, title string, directoriesOnly bool, filesOnly// assume that export extensions don't contain escape sequences and only have one part (not .tar.gz)if ext := path.Ext(searchTitle); handleGdocs && len(ext) > 0 && containsString(f.extensions, ext[1:]) {stem = title[:len(title)-len(ext)]- query = append(query, fmt.Sprintf("(name='%s' or name='%s')", searchTitle, searchTitle[:len(title)-len(ext)]))+ query = append(query, fmt.Sprintf("(name='%s' or name='%s')", searchTitle, searchTitle[:len(searchTitle)-len(ext)]))} else {query = append(query, fmt.Sprintf("name='%s'", searchTitle))}