Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/d5a869ac54812a5a0dfbf8d9f771926815462ce0
You should set ROOT_URL correctly, otherwise the web may not work correctly.
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 ) ;
@ -130,11 +130,20 @@ namespace NzbDrone.Core
return NormalizeRegex . Replace ( title , String . Empty ) . ToLower ( ) ;
}
//Note: changing case on path is a problem for running on mono/*nix
public static string NormalizePath ( string path )
{
if ( String . IsNullOrEmpty ( path ) )
throw new ArgumentException ( "Path can not be null or empty" ) ;
return new FileInfo ( path ) . FullName . ToLower ( ) . Trim ( '/' , '\\' , ' ' ) ;
var info = new FileInfo ( path ) ;
if ( info . FullName . StartsWith ( @"\\" ) ) //UNC
{
return info . FullName . ToLower ( ) . TrimEnd ( '/' , '\\' , ' ' ) ;
}
return info . FullName . ToLower ( ) . Trim ( '/' , '\\' , ' ' ) ;
}
}
}