mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Correct non-ASCII SSID read from wpa_supplicant
This commit is contained in:
parent
b4394513ca
commit
433434f4b7
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue