diff options
author | papush | 2021-05-26 11:49:42 +0200 |
---|---|---|
committer | papush | 2021-05-26 11:49:42 +0200 |
commit | a993f7c62c1becdef805dd54ee22c1265dfc3615 (patch) | |
tree | b7d85adc50f7e2fdfa702cebd7fdff53fc06c273 /chrome | |
parent | 0f68463df16f6e112dda1d6560fad5e6efa44aaf (diff) |
fix redirect validation on disabled redirects
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/js/redirect.js | 3 |
1 files changed, 2 insertions, 1 deletions
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; |