2
0

Added InvalidFileNameCharacters to list of replaced Characters in folder-names

This commit is contained in:
glax 2023-05-20 01:31:06 +02:00
parent 2c8e647a04
commit 621468f498

View File

@ -33,7 +33,7 @@ public readonly struct Publication
this.originalLanguage = originalLanguage;
this.status = status;
this.downloadUrl = downloadUrl;
this.folderName = string.Concat(sortName.Split(Path.GetInvalidPathChars()));
this.folderName = string.Concat(sortName.Split(Path.GetInvalidPathChars().Concat(Path.GetInvalidFileNameChars()).ToArray()));
}
/// <summary>