mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Fixed some issue around path normalization.
This commit is contained in:
parent
e269494ff8
commit
bfe4de7a08
7 changed files with 32 additions and 10 deletions
|
@ -175,5 +175,11 @@ namespace NzbDrone.Common
|
|||
{
|
||||
return File.ReadAllText(filePath);
|
||||
}
|
||||
|
||||
|
||||
public static bool PathEquals(string firstPath, string secondPath)
|
||||
{
|
||||
return String.Equals(firstPath.NormalizePath(), secondPath.NormalizePath(), StringComparison.InvariantCultureIgnoreCase);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue