mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-07 15:13:52 -08:00
Compare commits
1 Commits
48a59247d9
...
commonclie
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fdad3cbba |
@@ -612,6 +612,10 @@ async def server_loop(ctx: CommonContext, address: typing.Optional[str] = None)
|
||||
|
||||
address = f"ws://{address}" if "://" not in address \
|
||||
else address.replace("archipelago://", "ws://")
|
||||
uri = urllib.parse.urlparse(address)
|
||||
if uri.username and uri.password is None:
|
||||
# Fix for Firefox stripping empty password https://bugzilla.mozilla.org/show_bug.cgi?id=1876952
|
||||
address = address.replace("@", ":@")
|
||||
|
||||
server_url = urllib.parse.urlparse(address)
|
||||
if server_url.username:
|
||||
|
||||
Reference in New Issue
Block a user