From a993f7c62c1becdef805dd54ee22c1265dfc3615 Mon Sep 17 00:00:00 2001 From: papush Date: Wed, 26 May 2021 11:49:42 +0200 Subject: fix redirect validation on disabled redirects --- chrome/js/redirect.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome') diff --git a/chrome/js/redirect.js b/chrome/js/redirect.js index e1e1c68..756ae15 100644 --- a/chrome/js/redirect.js +++ b/chrome/js/redirect.js @@ -109,7 +109,8 @@ Redirect.prototype = { if (redirectTo !== null) { if (this.disabled) { result.isDisabledMatch = true; - } else if (this._excludeMatch(url)) { + } + if (this._excludeMatch(url)) { result.isExcludeMatch = true; } else { result.isMatch = true; -- cgit v1.2.3-70-g09d2