Fixed: (FlareSolverr) Detection of Cloudflare

pull/622/head v0.1.3.1113
bakerboy448 3 years ago committed by Qstick
parent a3fd37b27e
commit b8a42a7998

@ -71,7 +71,7 @@ namespace NzbDrone.Core.IndexerProxies.FlareSolverr
{
// 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…
Cancel
Save