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 splice addr bug when password contains any special character #11

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

Conversation

zl-cheng
Copy link

@zl-cheng zl-cheng commented Jul 8, 2022

Fix: When the password contains special characters, such as @#. The addr spliced out with format like ("redis://:{}@{}:{}", pw, host, port) will cause the get_password method parse url failed.

This PR will escape the special characters in the password part of the url, like url standard

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