diff options
| author | Ronan Charles-Lorel <ronan.charleslorel@gmail.com> | 2023-01-31 15:47:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-31 15:47:47 +0100 |
| commit | 31ac861b8560547c7e0c46513077abf76e6bc618 (patch) | |
| tree | 29c8a6b722cbaabf166cdb51415c8d04849cca41 /Emby.Server.Implementations | |
| parent | a2ac791bb779297bedb608825602912228d415c1 (diff) | |
Formatting
Diffstat (limited to 'Emby.Server.Implementations')
| -rw-r--r-- | Emby.Server.Implementations/IO/ManagedFileSystem.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/IO/ManagedFileSystem.cs b/Emby.Server.Implementations/IO/ManagedFileSystem.cs index 9b8831a1f..7b8c79e8a 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) |
