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
commit 124a852787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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