From 13e3eff7c59493322286935c10546427ae51b5fd Mon Sep 17 00:00:00 2001 From: Domesday Date: Wed, 14 Apr 2021 10:08:46 +0000 Subject: [PATCH] Upload files to 'tool/block_cloudflare_requests_pm/src' --- tool/block_cloudflare_requests_pm/src/header.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/block_cloudflare_requests_pm/src/header.js b/tool/block_cloudflare_requests_pm/src/header.js index 3bd0371a5..6f70aa444 100644 --- a/tool/block_cloudflare_requests_pm/src/header.js +++ b/tool/block_cloudflare_requests_pm/src/header.js @@ -20,8 +20,8 @@ let CFBlocking = { try { rayid = httpChl.getResponseHeader('cf-ray'); } catch (e) {} - if (rayid.length > 3) { - if (!knownCF.includes(hostN) && !ignoreCF(hostN)) { + if (rayid.length > 4 && !ignoreCF(hostN)) { + if (!knownCF.includes(hostN)) { knownCF.push(hostN); } httpChl.cancel(Cr.NS_BINDING_ABORTED);