1
0
Fork 0
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:
Bogdan 2024-10-14 20:39:37 +03:00
parent 4af9239808
commit 451ae5df62

View file

@ -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;