Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/9056bc1747b1598513b89c5ef6844b19e1d361f1?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
0 deletions
@ -2,6 +2,7 @@ using System;
using System.Collections.Generic ;
using System.IO ;
using System.Linq ;
using System.Text.RegularExpressions ;
using System.Xml ;
using System.Xml.Linq ;
using NzbDrone.Common ;
@ -49,6 +50,7 @@ namespace NzbDrone.Core.Configuration
private readonly ICached < string > _cache ;
private readonly string _configFile ;
private static readonly Regex HiddenCharacterRegex = new Regex ( "[^a-z0-9]" , RegexOptions . Compiled | RegexOptions . IgnoreCase ) ;
public ConfigFileProvider ( IAppFolderInfo appFolderInfo , ICacheManager cacheManager , IEventAggregator eventAggregator )
{
@ -87,6 +89,12 @@ namespace NzbDrone.Core.Configuration
continue ;
}
if ( configValue . Key . Equals ( "SslCertHash" , StringComparison . InvariantCultureIgnoreCase ) & & configValue . Value . ToString ( ) . IsNotNullOrWhiteSpace ( ) )
{
SetValue ( configValue . Key . FirstCharToUpper ( ) , HiddenCharacterRegex . Replace ( configValue . Value . ToString ( ) , String . Empty ) ) ;
continue ;
}
object currentValue ;
allWithDefaults . TryGetValue ( configValue . Key , out currentValue ) ;
if ( currentValue = = null ) continue ;