mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Remove extended ASCII ISO Latin-1 printable chars from filter
This commit is contained in:
parent
2233636681
commit
a4d5cc1af6
@ -78,8 +78,8 @@ function nearbyWifiStations(&$networks, $cached = true)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// filter SSID string: anything invisible in 7bit ASCII or quotes -> ignore network
|
// filter SSID string: unprintable 7bit ASCII control codes, delete or quotes -> ignore network
|
||||||
if (preg_match('[\x00-\x1f\x7f-\xff\'\`\´\"]', $ssid)) {
|
if (preg_match('[\x00-\x1f\x7f\'\`\´\"]', $ssid)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user