mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-09 05:22:09 +02:00
Fixed: (FlareSolverr) Detection of Cloudflare
This commit is contained in:
parent
a3fd37b27e
commit
b8a42a7998
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ private static bool IsCloudflareProtected(HttpResponse response)
|
|||
{
|
||||
// check response headers
|
||||
return response.Headers.Any(i =>
|
||||
i.Key != null && i.Key == "server" && CloudflareServerNames.Contains(i.Value.ToLower()));
|
||||
i.Key != null && i.Key.ToLower() == "server" && CloudflareServerNames.Contains(i.Value.ToLower()));
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue