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 committed by billz
parent d8626bd790
commit 74b6a15a75

View File

@ -20,6 +20,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':