Bug #14168
openOpenVPN status GUI cannot display RADIUS ACL Generated Ruleset with usernames containing an ``@`` symbol
0%
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.
Updated by Jim Pingle about 3 years ago
- 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?
Updated by Kris Phillips about 3 years ago
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.
Updated by K H about 1 year ago
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....
Updated by aleksei prokofiev about 1 year ago
- Affected Plus Version changed from 23.01 to 24.11