Re-order the path statement to avoid file issues

Fixes #31874.
pull/2240/head
Anthony Lavado 5 years ago
parent 423d50e978
commit 75f19a762c

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