Bug #14168
open
OpenVPN status GUI cannot display RADIUS ACL Generated Ruleset with usernames containing an ``@`` symbol
Added by Kris Phillips over 2 years ago.
Updated 4 months ago.
Affected Plus Version:
24.11
Affected Architecture:
All
Description
When looking at the Status --> OpenVPN page and viewing a user's ACLs from RADIUS, if the user signed in with user@domain.com, it will fail to load the ruleset information due to a PHP bug and just get stuck on "...Loading...". If the user signed in without the @domain.com, it will load fine.
- Subject changed from RADIUS ACL Generated Ruleset won't load with usernames containing @ symbol to OpenVPN status GUI cannot display RADIUS ACL Generated Ruleset with usernames containing an ``@`` symbol
- Category changed from Web Interface to OpenVPN
Is this newly broken in 23.01 (regression) or has it never worked, even on older versions?
Jim Pingle wrote in #note-1:
Is this newly broken in 23.01 (regression) or has it never worked, even on older versions?
This is untested on older releases at this time. Very likely it has been present for a while, but the only hardware with a customer I was able to test with was running 23.01. Will have to build a RADIUS setup and test.
Hello, this problem is still occur in version 24.11-RELEASE.
We located that problem is in status_openvpn.php file on line 77 where is "!preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['username']) " but regexp does not contains "@" symbol.
This shouls be quick fix....
- Affected Plus Version changed from 23.01 to 24.11
Also available in: Atom
PDF