From 862d738c79dc6f8188d3f9fefd46c01179041710 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Mon, 14 Sep 2015 22:07:06 +0000 Subject: Remove recursive redirects --- js/redirect.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'js/redirect.js') 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() { -- cgit v1.2.3