Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/885872ff3a1171a08d89e9bbb6683370c74cd0f8
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
17 additions and
8 deletions
@ -16,12 +16,12 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
public void Setup ( )
{
_parseResult = new RemoteEpisode
{
Release = new ReleaseInfo
{
Title = "Dexter.S08E01.EDITED.WEBRip.x264-KYR"
}
} ;
{
Release = new ReleaseInfo
{
Title = "Dexter.S08E01.EDITED.WEBRip.x264-KYR"
}
} ;
}
[Test]
@ -49,5 +49,12 @@ namespace NzbDrone.Core.Test.DecisionEngineTests
Mocker . GetMock < IConfigService > ( ) . SetupGet ( c = > c . ReleaseRestrictions ) . Returns ( restrictions ) ;
Subject . IsSatisfiedBy ( _parseResult , null ) . Should ( ) . BeTrue ( ) ;
}
[Test]
public void should_not_try_to_find_empty_string_as_a_match ( )
{
Mocker . GetMock < IConfigService > ( ) . SetupGet ( c = > c . ReleaseRestrictions ) . Returns ( "test\n" ) ;
Subject . IsSatisfiedBy ( _parseResult , null ) . Should ( ) . BeTrue ( ) ;
}
}
}
@ -231,8 +231,8 @@ namespace NzbDrone.Core.Configuration
public string ReleaseRestrictions
{
get { return GetValue ( "ReleaseRestrictions" , String . Empty ) ; }
set { SetValue ( "ReleaseRestrictions" , value ); }
get { return GetValue ( "ReleaseRestrictions" , String . Empty ) .Trim ( '\r' , '\n' ) ; }
set { SetValue ( "ReleaseRestrictions" , value .Trim ( '\r' , '\n' ) ); }
}
public Int32 RssSyncInterval
@ -41,6 +41,8 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
foreach ( var restriction in restrictions )
{
if ( String . IsNullOrWhiteSpace ( restriction ) ) continue ;
if ( subject . Release . Title . ToLowerInvariant ( ) . Contains ( restriction . ToLowerInvariant ( ) ) )
{
_logger . Trace ( "{0} is restricted: {1}" , subject , restriction ) ;