From 963beecdb8bf374d71f22fb0aaf39e5f215318d7 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 3 May 2017 15:01:02 +0200 Subject: [PATCH] captive: Fix passing redirection URL MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported-by: Daniel Weismüller Signed-off-by: Michael Tremer --- html/cgi-bin/captive/index.cgi | 2 +- html/html/captive/template.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/captive/index.cgi b/html/cgi-bin/captive/index.cgi index b891255744..4fe6a24cff 100755 --- a/html/cgi-bin/captive/index.cgi +++ b/html/cgi-bin/captive/index.cgi @@ -153,7 +153,7 @@ my $tmpl = HTML::Template->new( die_on_bad_params => 0 ); -$tmpl->param(REDIRECT_URL => $url); +$tmpl->param(REDIRECT => $url); # Coupon if ($settings{'AUTH'} eq "COUPON") { diff --git a/html/html/captive/template.html b/html/html/captive/template.html index 4c3497eeb1..3349bb07cd 100644 --- a/html/html/captive/template.html +++ b/html/html/captive/template.html @@ -35,7 +35,7 @@
- "> + "> form-error" type="text" name="COUPON"> -- 2.39.2