mirror of https://github.com/Jackett/Jackett
Cardigann: Fix url parsing for absolut urls
This commit is contained in:
parent
58b35b290b
commit
831751b381
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue