aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO/ManagedFileSystem.cs
diff options
context:
space:
mode:
authorAnthony Lavado <anthony@lavado.ca>2020-01-08 04:05:07 -0500
committerAnthony Lavado <anthony@lavado.ca>2020-01-08 04:05:07 -0500
commit75f19a762cf4cf769df7545612e68e95bb6905f2 (patch)
tree7536ee1c440b7b556469f014fd97f4ac17853b77 /Emby.Server.Implementations/IO/ManagedFileSystem.cs
parent423d50e9785e6c97b566059abcb51e7d6e3d99f0 (diff)
Re-order the path statement to avoid file issues
Fixes #31874.
Diffstat (limited to 'Emby.Server.Implementations/IO/ManagedFileSystem.cs')
-rw-r--r--Emby.Server.Implementations/IO/ManagedFileSystem.cs2
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)
{