Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/95f4d71c683b025781fa234761e8409319f88f48
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
14 additions and
2 deletions
@ -268,5 +268,18 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.SabnzbdTests
result . OutputPath . Should ( ) . Be ( @"C:\sorted\Droned.S01E01.Pilot.1080p.WEB-DL-DRONE" . AsOsAgnostic ( ) ) ;
}
[Test]
public void should_not_blow_up_if_storage_is_drive_root ( )
{
_completed . Items . First ( ) . Storage = @"C:\" . AsOsAgnostic ( ) ;
WithQueue ( null ) ;
WithHistory ( _completed ) ;
var result = Subject . GetItems ( ) . Single ( ) ;
result . OutputPath . Should ( ) . Be ( @"C:\" . AsOsAgnostic ( ) ) ;
}
}
}
@ -162,7 +162,7 @@ namespace NzbDrone.Core.Download.Clients.Sabnzbd
if ( ! sabHistoryItem . Storage . IsNullOrWhiteSpace ( ) )
{
var parent = Directory . GetParent ( sabHistoryItem . Storage ) ;
if ( parent . Name = = sabHistoryItem . Title )
if ( parent ! = null & & parent . Name = = sabHistoryItem . Title )
{
historyItem . OutputPath = parent . FullName ;
}
@ -6,7 +6,6 @@ using NzbDrone.Common;
using NzbDrone.Common.Extensions ;
using NzbDrone.Common.Serializer ;
using NzbDrone.Core.Download.Clients.Sabnzbd.Responses ;
using NzbDrone.Core.Instrumentation.Extensions ;
using RestSharp ;
namespace NzbDrone.Core.Download.Clients.Sabnzbd