diff options
| author | Anthony Lavado <anthony@lavado.ca> | 2020-01-08 04:05:07 -0500 |
|---|---|---|
| committer | Anthony Lavado <anthony@lavado.ca> | 2020-01-08 04:05:07 -0500 |
| commit | 75f19a762cf4cf769df7545612e68e95bb6905f2 (patch) | |
| tree | 7536ee1c440b7b556469f014fd97f4ac17853b77 | |
| parent | 423d50e9785e6c97b566059abcb51e7d6e3d99f0 (diff) | |
Re-order the path statement to avoid file issues
Fixes #31874.
| -rw-r--r-- | Emby.Server.Implementations/IO/ManagedFileSystem.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/IO/ManagedFileSystem.cs b/Emby.Server.Implementations/IO/ManagedFileSystem.cs index 442fbabd1..9568f62df 100644 --- a/Emby.Server.Implementations/IO/ManagedFileSystem.cs +++ b/Emby.Server.Implementations/IO/ManagedFileSystem.cs @@ -109,7 +109,7 @@ namespace Emby.Server.Implementations.IO } try { - return Path.Combine(Path.GetFullPath(folderPath), filePath); + return Path.GetFullPath(Path.Combine(folderPath, filePath)); } catch (ArgumentException) { |
