Update CommonClient.py

This commit is contained in:
NewSoupVi
2025-10-08 09:22:19 +02:00
committed by GitHub
parent 0e5a0e490c
commit f95f3430b9

View File

@@ -856,7 +856,7 @@ async def server_loop(ctx: CommonContext, address: typing.Optional[str] = None)
server_url = urllib.parse.urlparse(address)
if server_url.username:
ctx.auth = urllib.parse.unquote(server_url.username)
ctx.username = urllib.parse.unquote(server_url.username)
if server_url.password:
ctx.password = urllib.parse.unquote(server_url.password)