We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From my tests it seems that when using a private connection from an extension
relay_endpoint = encrypt_internal_message("relay") relay=f"ws://localhost:{settings.port}/nostrclient/api/v1/{relay_endpoint}"
the authentication fails with
server rejected WebSocket connection: HTTP 403
(using the 'websockets' lib) if encrypt_internal_message happens to return a string with the '/' character inside. I've tried to urlencode it with
urllib.parse.quote(relay_endpoint, safe='')
but the connection was still rejected, i assume it's because the '/' character in path components is not automatically urldecoded.
Imo it would be better to pass it as query parameter instead of path.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From my tests it seems that when using a private connection from an extension
the authentication fails with
(using the 'websockets' lib)
if encrypt_internal_message happens to return a string with the '/' character inside.
I've tried to urlencode it with
but the connection was still rejected, i assume it's because the '/' character in path components is not automatically urldecoded.
Imo it would be better to pass it as query parameter instead of path.
The text was updated successfully, but these errors were encountered: