-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ERR invalid password when the password contains a "+" #989
Comments
related issue: nodejs/node#21841 looks like |
Thanks for checking the report @tuananh . Do you have any plans on picking this one up? The password which is used here has been generated by one of the major cloud providers so I think that fixing this one would be beneficial. |
I just added two test cases to address this issue: 66920f1. The correct usage for passing passwords via URL is to place it in the password part (that's
It's supported to pass passwords via queries, but passwords need to be encoded first:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed. |
Thanks for the hint then! |
Environment
Steps to reproduce
Consider the following test:
And run it using
DEBUG=ioredis:* jest index.test.js
Expected result
The test should pass :)
Actual result
ioredis has an issue and sends the password with the "+" changed to a space bar - logs attached
The text was updated successfully, but these errors were encountered: