diff options
author | Einar Egilsson <einar@einaregilsson.com> | 2015-09-14 22:07:06 +0000 |
---|---|---|
committer | Einar Egilsson <einar@einaregilsson.com> | 2015-09-14 22:07:06 +0000 |
commit | 862d738c79dc6f8188d3f9fefd46c01179041710 (patch) | |
tree | e2a9e8ca5676385774de410c2a0b0e9a49f4d073 /js/redirect.js | |
parent | f8cadfc58011fb5872c7909b561ad6e4562174f5 (diff) |
Remove recursive redirects
Diffstat (limited to 'js/redirect.js')
-rw-r--r-- | js/redirect.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/js/redirect.js b/js/redirect.js index 7433027..f0b429d 100644 --- a/js/redirect.js +++ b/js/redirect.js @@ -155,11 +155,6 @@ Redirect.prototype = { } this.exampleResult = match.redirectTo; - - if (this.getMatch(this.exampleResult, true).isMatch) { - this.exampleResult = ''; - this.error = 'Result matches the redirect again, causing endless loop.' - } }, isRegex: function() { |