Project

General

Profile

Actions

Bug #11902

closed

Incorrect variable substitution in captive portal error page

Added by Felipe Perez over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Captive Portal
Target version:
Start date:
05/10/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
2.5.0
Affected Architecture:

Description

In the captive portal system you may add the pages: "Portal page contents" and "Auth error page content". I have added the same page for both

on the page "Portal page contents" the variable $PORTAL_ACTION$ is resolved to the router IP address: http://10.11.0.1:8001/index.php?zone=cpzone

on the page "Auth error page content" the variable $PORTAL_ACTION$ is resolved to the router FQDN address: http://router.example.com:8001/index.php?zone=cpzone (which does not work for me). Also the variables $CLIENT_IP$ and $CLIENT_MAC$ do not work

With the above issue, if the user type an invalid voucher and get an error message, the user is not be able to try again

Actions

Also available in: Atom PDF