From: Michael Tremer Date: Wed, 3 May 2017 13:01:02 +0000 (+0200) Subject: captive: Fix passing redirection URL X-Git-Tag: v2.19-core115~60^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=963beecdb8bf374d71f22fb0aaf39e5f215318d7;p=ipfire-2.x.git captive: Fix passing redirection URL Reported-by: Daniel Weismüller Signed-off-by: Michael Tremer --- 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">