mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 04:48:00 +01:00
Revert commit 691/8aa66e4: Don't support wireless networks with '\x00' in the ESSID
This commit is contained in:
@@ -862,10 +862,6 @@ class WirelessNetworkEntry(NetworkEntry):
|
||||
self.advanced_dialog = WirelessSettingsDialog(networkID)
|
||||
self.wifides = self.connect("destroy", self.destroy_called)
|
||||
|
||||
# Disable widget if the ESSID contains one (or more) NULL byte
|
||||
if '<NULL>' in self.essid:
|
||||
self.set_sensitive(False)
|
||||
|
||||
def _escape(self, val):
|
||||
""" Escapes special characters so they're displayed correctly. """
|
||||
return val.replace("&", "&").replace("<", "<").\
|
||||
|
||||
Reference in New Issue
Block a user