Commit 107bd123 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

AccountWizard: Don’t try to validate websocket uris

parent 5e8ef4a3
Pipeline #8235 passed with stages
in 6 minutes and 51 seconds
......@@ -748,6 +748,11 @@ def _show_port_icon(self, show):
def _validate_host(self):
host = self._ui.custom_host_entry.get_text()
if host.startswith('ws://') or host.startswith('wss://'):
# We have no method for validating websocket URIs
self._show_host_icon(False)
return True
try:
validate_domainpart(host)
except Exception:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment