mirror of
https://github.com/gryf/wicd.git
synced 2025-12-25 16:02:28 +01:00
Finally really fix the issue with \x00-ESSIDs :(
This commit is contained in:
@@ -1255,7 +1255,7 @@ class BaseWirelessInterface(BaseInterface):
|
||||
# We (well, DBus) don't support ESSIDs with null bytes in it.
|
||||
# From some bugreports, it seems like some APs transmit the "hidden"
|
||||
# essid as NULL bytes. Let's strip them off.
|
||||
ap['essid'].replace('\x00', '')
|
||||
ap['essid'] = ap['essid'].replace('\x00', '')
|
||||
|
||||
if ap['essid'] in ['Hidden', '<hidden>', "", None]:
|
||||
print 'hidden'
|
||||
|
||||
Reference in New Issue
Block a user