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

hide database user info in connection string when it's invalid #135

Closed
wants to merge 1 commit into from

Conversation

zijima
Copy link

@zijima zijima commented Jul 22, 2019

Issue #, if available:
#131

Description of changes:
If database's username/password is invalid, current sdk cannot stripe password.

The change will handle the error net/url: invalid userinfo from url.go and remove the user info part of the DSN.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@zijima zijima closed this Jul 23, 2019
@zijima zijima deleted the hide-db-pwd-for-invalid-userinfo branch July 23, 2019 14:15
@luluzhao
Copy link
Contributor

hello @zijima , thank you for your contribution. I am wondering why you close it? Are you going to submit another one?

@zijima zijima restored the hide-db-pwd-for-invalid-userinfo branch July 25, 2019 18:17
@zijima
Copy link
Author

zijima commented Jul 25, 2019

The automatic build failed somehow for older go versions i haven't figured out why even after looking at golang source code.
zijima@808022a

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