The Free Software Media System - Server Backend & API
Formatting
Ronan Charles-Lorel31ac861b8560
diff --git a/Emby.Server.Implementations/IO/ManagedFileSystem.cs b/Emby.Server.Implementations/IO/ManagedFileSystem.csindex 9b8831a1fe..7b8c79e8a9 100644--- a/Emby.Server.Implementations/IO/ManagedFileSystem.cs+++ b/Emby.Server.Implementations/IO/ManagedFileSystem.cs@@ -294,8 +294,8 @@ namespace Emby.Server.Implementations.IO/// <exception cref="ArgumentNullException">The filename is null.</exception>public string GetValidFilename(string filename){- //necessary because (as per the doc) GetInvalidFileNameChars is not exhaustive and may not return all invalid chars, which creates issues- char[] genericInvalidChars = {':'};+ // necessary because (as per the doc) GetInvalidFileNameChars is not exhaustive and may not return all invalid chars, which creates issues+ char[] genericInvalidChars = { ':' };var invalid = Path.GetInvalidFileNameChars().Concat(genericInvalidChars).ToArray();var first = filename.IndexOfAny(invalid);if (first == -1)