Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/a7cabc49b4cab43f1dedec66f181c1b047c55d17
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
3 additions and
1 deletions
@ -20,7 +20,7 @@ namespace NzbDrone.Core.MetadataSource
{
private readonly Logger _logger ;
private static readonly Regex CollapseSpaceRegex = new Regex ( @"\s+" , RegexOptions . Compiled ) ;
private static readonly Regex InvalidSearchCharRegex = new Regex ( @"(?:\*|\(|\)|'|! )", RegexOptions . Compiled ) ;
private static readonly Regex InvalidSearchCharRegex = new Regex ( @"(?:\*|\(|\)|'|! |@ )", RegexOptions . Compiled ) ;
public TraktProxy ( Logger logger )
{
@ -168,7 +168,9 @@ namespace NzbDrone.Core.MetadataSource
phrase = phrase . RemoveAccent ( ) . ToLower ( ) ;
phrase = InvalidSearchCharRegex . Replace ( phrase , "" ) ;
phrase = CollapseSpaceRegex . Replace ( phrase , " " ) . Trim ( ) . ToLower ( ) ;
phrase = phrase . Trim ( '-' ) ;
phrase = HttpUtility . UrlEncode ( phrase ) ;
return phrase ;
}