mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-19 11:20:49 +02:00
Fixed: Cardigann redirections after login
This commit is contained in:
parent
b0f04bb9d7
commit
9ac435bc41
1 changed files with 3 additions and 0 deletions
|
|
@ -413,6 +413,8 @@ protected virtual async Task<IndexerResponse> FetchIndexerResponse(IndexerReques
|
|||
|
||||
request.HttpRequest.AllowAutoRedirect = FollowRedirect;
|
||||
|
||||
var originalUrl = request.Url;
|
||||
|
||||
Cookies = GetCookies();
|
||||
|
||||
if (Cookies != null)
|
||||
|
|
@ -433,6 +435,7 @@ protected virtual async Task<IndexerResponse> FetchIndexerResponse(IndexerReques
|
|||
|
||||
await DoLogin();
|
||||
|
||||
request.HttpRequest.Url = originalUrl;
|
||||
ModifyRequest(request);
|
||||
|
||||
response = await _httpClient.ExecuteAsync(request.HttpRequest);
|
||||
|
|
|
|||
Loading…
Reference in a new issue