mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-24 22:55:21 -04:00
Fix NullRef in Cloudflare detection service
This commit is contained in:
@@ -32,8 +32,8 @@ namespace NzbDrone.Core.Http.CloudFlare
|
||||
}
|
||||
|
||||
// detect Custom CloudFlare for EbookParadijs, Film-Paleis, MuziekFabriek and Puur-Hollands
|
||||
if (response.Headers.Vary.ToString() == "Accept-Encoding,User-Agent" &&
|
||||
response.Headers.ContentEncoding.ToString() == "" &&
|
||||
if (response.Headers.Vary == "Accept-Encoding,User-Agent" &&
|
||||
response.Headers.ContentEncoding == "" &&
|
||||
response.Content.ToLower().Contains("ddos"))
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user