Skip to content
New issue

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

Support URL (%-) encoding in server URL strings #762

Closed
levb opened this issue Jun 11, 2024 · 0 comments · Fixed by #765
Closed

Support URL (%-) encoding in server URL strings #762

levb opened this issue Jun 11, 2024 · 0 comments · Fixed by #765
Labels
defect Suspected defect such as a bug or regression

Comments

@levb
Copy link
Collaborator

levb commented Jun 11, 2024

Observed behavior

Presently, the server URLs passed into natsConnection_ConnectTo, natsOptions_SetURL, or natsOptions_SetServers.

Expected behavior

%-encoded characters should be supported, specifically in username and password.

Server and client version

2.10, 3.8

Host environment

No response

Steps to reproduce

%-encode a username with special characters in a URL, and see the connection fail

@levb levb added the defect Suspected defect such as a bug or regression label Jun 11, 2024
@levb levb closed this as completed in #765 Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Suspected defect such as a bug or regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant