mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 20:38:00 +01:00
Don't support wireless networks with '\x00' in the ESSID
This commit is contained in:
@@ -364,6 +364,9 @@ class NetLabel(urwid.WidgetWrap):
|
||||
|
||||
self.__super.__init__(w)
|
||||
def selectable(self):
|
||||
# Disable widget if the ESSID contains one (or more) NULL byte
|
||||
if '<NULL>' in self.essid:
|
||||
return False
|
||||
return True
|
||||
def keypress(self,size,key):
|
||||
return self._w.keypress(size,key)
|
||||
|
||||
Reference in New Issue
Block a user