--- a/connectors/WAMP_dialog.py Tue Apr 23 11:00:37 2019 +0200
+++ b/connectors/WAMP_dialog.py Tue Apr 23 11:01:35 2019 +0200
@@ -12,6 +12,7 @@
Schemes = ["WAMP", "WAMPS"]
model = [('host', _("Host:")),
@@ -24,7 +25,8 @@
# pylint: disable=unused-variable
- hostport, realm, ID = list(islice(chain(loc.split("#"), repeat("")), 3))
+ hostportpath, realm, ID = list(islice(chain(loc.split("#"), repeat("")), 3)) + hostport, path = list(islice(chain(hostportpath.split("/"), repeat("")), 2)) host, port = list(islice(chain(hostport.split(":"), repeat("")), 2))
@@ -35,6 +37,7 @@
(":{port}" if fields['port'] else '') +\
+ ("/{path}" if fields['path'] else '') +\ return template.format(**fields)