Re-order the path statement to avoid file issues

Fixes #31874.
This commit is contained in:
Anthony Lavado 2020-01-08 04:05:07 -05:00
parent 423d50e978
commit 75f19a762c

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