Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Allow '&' and disallow ':' in Windows filenames.

klauspostab9f521cbd37
diff --git a/local/local.go b/local/local.go
index 4f4a2e774..4e57407b7 100644
--- a/local/local.go
+++ b/local/local.go
@@ -178,7 +178,7 @@ func (f *FsLocal) cleanUtf8(name string) string {
}
name2 += strings.Map(func(r rune) rune {
switch r {
- case '<', '>', '"', '|', '?', '*', '&':
+ case '<', '>', '"', '|', '?', '*', ':':
return '_'
}
return r