diff options
| author | Andrew Rabert <6550543+nvllsvm@users.noreply.github.com> | 2020-01-08 08:29:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-08 08:29:03 -0500 |
| commit | 124a852787ff94201de452a952eb31376beafe12 (patch) | |
| tree | 7536ee1c440b7b556469f014fd97f4ac17853b77 /Emby.Server.Implementations/IO/ManagedFileSystem.cs | |
| parent | 423d50e9785e6c97b566059abcb51e7d6e3d99f0 (diff) | |
| parent | 75f19a762cf4cf769df7545612e68e95bb6905f2 (diff) | |
Merge pull request #2240 from anthonylavado/fix-pathfinding
Re-order the path statement to avoid file issues
Diffstat (limited to 'Emby.Server.Implementations/IO/ManagedFileSystem.cs')
| -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) { |
