Преглед изворни кода

Re-order the path statement to avoid file issues

Fixes #31874.
Anthony Lavado пре 5 година
родитељ
комит
75f19a762c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Emby.Server.Implementations/IO/ManagedFileSystem.cs

+ 1 - 1
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)
             {