Skip to content
Snippets Groups Projects
Commit b5d4bb4a authored by sb's avatar sb
Browse files

fix #2574 (allow 0x5f in hostnames)

parent 0464ac38
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,8 @@ class NamePrep:
prohibiteds = [unichr(n) for n in range(0x00, 0x2c + 1) +
range(0x2e, 0x2f + 1) +
range(0x3a, 0x40 + 1) +
range(0x5b, 0x60 + 1) +
range(0x5b, 0x5e + 1) +
range(0x60, 0x60 + 1) +
range(0x7b, 0x7f + 1) ]
def prepare(self, string):
......
......@@ -1894,7 +1894,6 @@ class Interface:
if not gajim.config.get_per('accounts', account, 'is_zeroconf'):
gajim.connections[account] = common.connection.Connection(account)
# gtk hooks
# gtk hooks
gtk.about_dialog_set_email_hook(self.on_launch_browser_mailer, 'mail')
gtk.about_dialog_set_url_hook(self.on_launch_browser_mailer, 'url')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment