Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/451f60319f40ceac46481a196c216d6f219f444c You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: (Cardigann) Add check for `request.inputs`, since are null when `pathselector` is used

Fixes 
pull/1600/head
Bogdan 2 years ago
parent c6ed5d65e0
commit 451f60319f

@ -728,16 +728,19 @@ namespace NzbDrone.Core.Indexers.Cardigann
pairs = new Dictionary<string, string>();
}
foreach (var input in request.Inputs)
if (request.Inputs != null)
{
var value = ApplyGoTemplateText(input.Value, variables);
if (method == HttpMethod.Get)
foreach (var input in request.Inputs)
{
queryCollection.Add(input.Key, value);
}
else if (method == HttpMethod.Post)
{
pairs.Add(input.Key, value);
var value = ApplyGoTemplateText(input.Value, variables);
if (method == HttpMethod.Get)
{
queryCollection.Add(input.Key, value);
}
else if (method == HttpMethod.Post)
{
pairs.Add(input.Key, value);
}
}
}

Loading…
Cancel
Save