Merge pull request #2240 from anthonylavado/fix-pathfinding

Re-order the path statement to avoid file issues
This commit is contained in:
Andrew Rabert
2020-01-08 08:29:03 -05:00
committed by GitHub

View File

@@ -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)
{