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) 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; return null;