You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
coolbeevip
changed the title
The hostname and password cannot parse even if escaping with RedisURI the password include '@' and '#'
The hostname and password cannot parse even if escaping with RedisURI redis-sentinel the password include '@' and '#'
Nov 20, 2022
Bug Report
The hostname and password cannot parse even if escaping with RedisURI the password include '@'
Current Behavior
Redis password is
abc@#123
. escaping isabc%40%23123
This test case
Test failed
Environment
Possible Solution
Here
authority.indexOf('@')
should be changed toauthority.lastIndexOf('@')
https://github.com/lettuce-io/lettuce-core/blob/main/src/main/java/io/lettuce/core/RedisURI.java#L1161
The text was updated successfully, but these errors were encountered: