Cardigann: Fix url parsing for absolut urls

This commit is contained in:
kaso17 2016-11-02 18:39:08 +01:00
parent 58b35b290b
commit 831751b381
1 changed files with 9 additions and 1 deletions

View File

@ -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<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuery query)