mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Parse UNC paths
This commit is contained in:
parent
153e013afb
commit
d5a869ac54
2 changed files with 11 additions and 1 deletions
|
@ -58,6 +58,7 @@ namespace NzbDrone.Core.Test
|
|||
[Row(@"c:\\test\\", @"c:\test")]
|
||||
[Row(@"C:\\Test\\", @"c:\test")]
|
||||
[Row(@"C:\\Test\\Test\", @"c:\test\test")]
|
||||
[Row(@"\\Testserver\Test\", @"\\testserver\test")]
|
||||
public void Normalize_Path(string dirty, string clean)
|
||||
{
|
||||
var result = Parser.NormalizePath(dirty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue