The Free Software Media System - Server Backend & API
Formatting
Ronan Charles-Lorelc21140eeb54f
diff --git a/Emby.Server.Implementations/IO/ManagedFileSystem.cs b/Emby.Server.Implementations/IO/ManagedFileSystem.csindex 193185dfea..d27024f8ae 100644--- a/Emby.Server.Implementations/IO/ManagedFileSystem.cs+++ b/Emby.Server.Implementations/IO/ManagedFileSystem.cs@@ -20,13 +20,15 @@ namespace Emby.Server.Implementations.IOprivate readonly List<IShortcutHandler> _shortcutHandlers = new List<IShortcutHandler>();private readonly string _tempPath;private static readonly bool _isEnvironmentCaseInsensitive = OperatingSystem.IsWindows();- private static readonly char[] _invalidPathCharacters = {- '\"', '<', '>', '|', '\0',- (char)1, (char)2, (char)3, (char)4, (char)5, (char)6, (char)7, (char)8, (char)9, (char)10,- (char)11, (char)12, (char)13, (char)14, (char)15, (char)16, (char)17, (char)18, (char)19, (char)20,- (char)21, (char)22, (char)23, (char)24, (char)25, (char)26, (char)27, (char)28, (char)29, (char)30,- (char)31, ':', '*', '?', '\\', '/'- };+ private static readonly char[] _invalidPathCharacters =+ {+ '\"', '<', '>', '|', '\0',+ (char)1, (char)2, (char)3, (char)4, (char)5, (char)6, (char)7, (char)8, (char)9, (char)10,+ (char)11, (char)12, (char)13, (char)14, (char)15, (char)16, (char)17, (char)18, (char)19, (char)20,+ (char)21, (char)22, (char)23, (char)24, (char)25, (char)26, (char)27, (char)28, (char)29, (char)30,+ (char)31, ':', '*', '?', '\\', '/'+ };+/// <summary>/// Initializes a new instance of the <see cref="ManagedFileSystem"/> class./// </summary>