1
0
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:
zbchristian 2021-08-18 20:37:45 +02:00
parent b4394513ca
commit 433434f4b7

View File

@ -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':