From 918a073c81753baa6a51b4428c62af93fb6ea09d Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 22 Feb 2021 06:32:43 -0500 Subject: [PATCH] Fix regression in strict blocking Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/lp6dwp/ Regression from: - https://github.com/gorhill/uBlock/commit/3af1120082ea659ba2a75e8468a8a36caea43d82 --- src/js/traffic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/traffic.js b/src/js/traffic.js index 2da474c9c..c4a37ae96 100644 --- a/src/js/traffic.js +++ b/src/js/traffic.js @@ -269,7 +269,7 @@ const shouldStrictBlock = function(fctxt, loggerEnabled) { const rs = snfe.matchString(fctxt, 0b0011); const is = rs === 1 && snfe.isBlockImportant(); let lds; - if ( rs !== 0 && loggerEnabled ) { + if ( rs !== 0 || loggerEnabled ) { lds = snfe.toLogData(); }