mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 13:46:10 +00:00
httpclient: fix use with absolute urls in Refresh headers
This commit is contained in:
parent
4af9239808
commit
451ae5df62
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ namespace Jackett.Common.Utils.Clients
|
|||
|
||||
if (match.Success)
|
||||
{
|
||||
return new Uri(response.RequestMessage.RequestUri, match.Groups[2].Value);
|
||||
return new Uri(response.RequestMessage.RequestUri, new Uri(match.Groups[2].Value, UriKind.RelativeOrAbsolute));
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue