Fixed: (FlareSolverr) Detection of Cloudflare

This commit is contained in:
bakerboy448 2021-11-19 16:18:56 -06:00 committed by Qstick
parent a3fd37b27e
commit b8a42a7998

View file

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