aboutsummaryrefslogtreecommitdiff
path: root/chrome/js/redirect.js
diff options
context:
space:
mode:
authorpapush2021-05-26 11:49:42 +0200
committerpapush2021-05-26 11:49:42 +0200
commita993f7c62c1becdef805dd54ee22c1265dfc3615 (patch)
treeb7d85adc50f7e2fdfa702cebd7fdff53fc06c273 /chrome/js/redirect.js
parent0f68463df16f6e112dda1d6560fad5e6efa44aaf (diff)
fix redirect validation on disabled redirects
Diffstat (limited to 'chrome/js/redirect.js')
-rw-r--r--chrome/js/redirect.js3
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;