Merge pull request #2240 from anthonylavado/fix-pathfinding

Re-order the path statement to avoid file issues
pull/2185/head
Andrew Rabert 5 years ago committed by GitHub
commit 124a852787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -109,7 +109,7 @@ namespace Emby.Server.Implementations.IO
} }
try try
{ {
return Path.Combine(Path.GetFullPath(folderPath), filePath); return Path.GetFullPath(Path.Combine(folderPath, filePath));
} }
catch (ArgumentException) catch (ArgumentException)
{ {

Loading…
Cancel
Save