From 831751b381474f00b9e9c3d0ffad84059c28d4df Mon Sep 17 00:00:00 2001 From: kaso17 Date: Wed, 2 Nov 2016 18:39:08 +0100 Subject: [PATCH] Cardigann: Fix url parsing for absolut urls --- src/Jackett/Indexers/CardigannIndexer.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Jackett/Indexers/CardigannIndexer.cs b/src/Jackett/Indexers/CardigannIndexer.cs index 820750b26..6b85cfe47 100644 --- a/src/Jackett/Indexers/CardigannIndexer.cs +++ b/src/Jackett/Indexers/CardigannIndexer.cs @@ -493,7 +493,15 @@ namespace Jackett.Indexers protected Uri resolvePath(string path) { - return new Uri(SiteLink + path); + if(path.StartsWith("http")) + { + return new Uri(path); + } + else + { + return new Uri(SiteLink + path); + } + } public async Task> PerformQuery(TorznabQuery query)