From d43a3b196cbee08a825f2a71df6d2bc2e93050af Mon Sep 17 00:00:00 2001 From: PatMulligan <43773168+PatMulligan@users.noreply.github.com> Date: Wed, 10 Sep 2025 14:10:45 +0200 Subject: [PATCH] FIX: add urlsafe=True (#111) --- nostr/nostr_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostr/nostr_client.py b/nostr/nostr_client.py index 5e902e4..a611980 100644 --- a/nostr/nostr_client.py +++ b/nostr/nostr_client.py @@ -30,7 +30,7 @@ class NostrClient: async def connect_to_nostrclient_ws(self) -> WebSocketApp: logger.debug(f"Connecting to websockets for 'nostrclient' extension...") - relay_endpoint = encrypt_internal_message("relay") + relay_endpoint = encrypt_internal_message("relay", urlsafe=True) on_open, on_message, on_error, on_close = self._ws_handlers() ws = WebSocketApp( f"ws://localhost:{settings.port}/nostrclient/api/v1/{relay_endpoint}",