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

Addresses Issue #47: Update docs to handle special characters #60

Merged
merged 1 commit into from
Jun 23, 2024

Conversation

hudsonmd
Copy link
Contributor

Connections with non-standard characters fail with "net/url: invalid userinfo" due to the following change in database/sql, which added invalid characters for the connection string

PR: https://go-review.googlesource.com/c/go/+/87038
File: https://go-review.googlesource.com/c/go/+/88535/6/src/net/url/url.go

I was able to work around this by percent encoding any special characters in the connection string and updated with instructions in the readme.

See this link for more conversions https://www.w3schools.com/tags/ref_urlencode.ASP

@KarnerTh KarnerTh merged commit 773c5bc into KarnerTh:master Jun 23, 2024
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.

2 participants