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

fix: net/url in newer versions of Go (>1.9.4) reject with "invalid userinfo" when there are special characters in the connection string #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rickmeasham-eh
Copy link

Per this patch to go, when we have an auto-generated password that contains special characters, net/url throws an invalid userinfo error.

This PR encodes the username and password in the connection string.

It deliberately does not bother with the host, port or dbName as all three already have limited character sets.

…o" when there are special characters in the connection string
@rickmeasham-eh rickmeasham-eh changed the title net/url in newer versions of Go (>1.9.4) reject with "invalid userinfo" when there are special characters in the connection string fix: net/url in newer versions of Go (>1.9.4) reject with "invalid userinfo" when there are special characters in the connection string Jun 24, 2024
@rickmeasham-eh
Copy link
Author

Hi @jousby, I'm wondering if there's any chance of getting this PR reviewed and hopefully merged sometime soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant