Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/fc0fa2c22f794a48d30e533bd11ca8a32e706e0c
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
7 additions and
2 deletions
@ -66,7 +66,6 @@ namespace NzbDrone.Core.Test.OrganizerTests.FileNameBuilderTests
[TestCase("backslash \\ backlash", "backslash backlash")]
[TestCase("I'm the Boss", "Im the Boss")]
//[TestCase("", "")]
//[TestCase("", "")]
public void should_get_expected_title_back ( string title , string expected )
{
_series . Title = title ;
@ -113,5 +113,11 @@ namespace NzbDrone.Core.Test.ParserTests
dirty . CleanSeriesTitle ( ) . Should ( ) . Be ( word + "wordword" ) ;
}
}
[Test]
public void should_not_clean_trailing_a ( )
{
"Tokyo Ghoul A" . CleanSeriesTitle ( ) . Should ( ) . Be ( "tokyoghoula" ) ;
}
}
}
@ -147,7 +147,7 @@ namespace NzbDrone.Core.Parser
//Regex to detect whether the title was reversed.
private static readonly Regex ReversedTitleRegex = new Regex ( @"[-._ ](p027|p0801|\d{2}E\d{2}S)[-._ ]" , RegexOptions . Compiled ) ;
private static readonly Regex NormalizeRegex = new Regex ( @"((?:\b|_)(?<!^)(a |an|the|and|or|of)(?:\b|_))|\W|_",
private static readonly Regex NormalizeRegex = new Regex ( @"((?:\b|_)(?<!^)(a (?!$) |an|the|and|or|of)(?:\b|_))|\W|_",
RegexOptions . IgnoreCase | RegexOptions . Compiled ) ;
private static readonly Regex FileExtensionRegex = new Regex ( @"\.[a-z0-9]{2,4}$" ,