Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Sanitize folder name

Neeraj Gupta9529639b963e
diff --git a/pkg/remote_to_disk_album.go b/pkg/remote_to_disk_album.go
index dc1dfeacbd..540aee1f7e 100644
--- a/pkg/remote_to_disk_album.go
+++ b/pkg/remote_to_disk_album.go
@@ -49,6 +49,7 @@ func (c *ClICtrl) createLocalFolderForRemoteAlbums(ctx context.Context, account
albumFolderName := filepath.Clean(album.AlbumName)
// replace : with _
albumFolderName = strings.ReplaceAll(albumFolderName, ":", "_")
+ albumFolderName = strings.ReplaceAll(albumFolderName, "/", "_")
albumID := album.ID
if _, ok := folderToMetaMap[albumFolderName]; ok {