mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
httpclient: fix use with absolute urls in Refresh headers
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user