We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b5d933 commit f96a18cCopy full SHA for f96a18c
rabbitmq_amqp_python_client/qpid/proton/_reactor.py
@@ -1099,7 +1099,7 @@ def __init__(self, connection: Connection) -> None:
1099
def _connect(self, connection: Connection, url: Url) -> None:
1100
connection.url = url
1101
# if virtual-host not set, use host from address as default
1102
- if url.path is not None:
+ if url.path is not None and url.path != '':
1103
rabbitmq_vhost = urllib.parse.quote(url.path.replace("+", "%2B"))
1104
connection.hostname = "vhost:{}".format(rabbitmq_vhost)
1105
else:
0 commit comments