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 3e2f839 commit 751b471Copy full SHA for 751b471
zulip/integrations/bridge_with_matrix/matrix_bridge.py
@@ -232,6 +232,8 @@ def __init__(
232
if result["result"] != "success":
233
raise BridgeFatalZulipError("cannot get server settings")
234
self.server_url: str = result["realm_uri"]
235
+ if not self.server_url.startswith(("http:", "https:")):
236
+ raise ValueError("Unexpected server URL scheme")
237
238
@classmethod
239
async def create(
0 commit comments