1
mirror of https://github.com/rclone/rclone synced 2025-03-07 07:49:20 +01:00

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

Fixes 
This commit is contained in:
klauspost 2015-10-05 11:04:25 +02:00
parent 3a900e5bb7
commit ab9f521cbd

@ -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