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
Fix JedisURIHelper.getPassword throwing ArrayIndexOutOfBoundsException for username-only URIs (#4109)
Fix for bug #4003. Better message instead of ArrayIndexOutOfBoundsException
Authentication details can be provided in the URI in the form of a username and password.
Examples :
- Username and Password: redis://username:password@host:port
- Password-only: redis://:password@host:port
- No Authentication: redis://host:port
- Empty password: redis://username:@host:port
Using JedisURIHelper with a URI having only a username is considered invalid and should throw `IllegalArgumentException`.
Closes#4003.
---------
Co-authored-by: ggivo <[email protected]>
0 commit comments