mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
OpenVPN verify: Fix login for RW clients with >= 2 spaces in name.
http://forum.ipfire.org/index.php?topic=8702.0
This commit is contained in:
@@ -49,7 +49,7 @@ if (-f "${General::swroot}/ovpn/ovpnconfig"){
|
||||
exit 0 if ($cn eq $CN);
|
||||
|
||||
# Compatibility code for incorrectly saved CNs.
|
||||
$cn =~ s/\ /_/;
|
||||
$cn =~ s/\ /_/g;
|
||||
exit 0 if ($cn eq $CN);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,3 +5,4 @@ srv/web/ipfire/cgi-bin/ddns.cgi
|
||||
srv/web/ipfire/cgi-bin/vpnmain.cgi
|
||||
usr/local/bin/openvpnctrl
|
||||
usr/local/bin/setddns.pl
|
||||
var/ipfire/ovpn/verify
|
||||
|
||||
Reference in New Issue
Block a user