mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Correct non-ASCII SSID read from wpa_supplicant
This commit is contained in:
parent
b4394513ca
commit
433434f4b7
@ -18,6 +18,7 @@ function knownWifiStations(&$networks)
|
||||
switch (strtolower($lineArr[0])) {
|
||||
case 'ssid':
|
||||
$ssid = trim($lineArr[1], '"');
|
||||
$ssid = str_replace('P"','',$ssid);
|
||||
$network['ssid'] = $ssid;
|
||||
break;
|
||||
case 'psk':
|
||||
|
Loading…
Reference in New Issue
Block a user