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
Return the username for this URL (typically the empty string) as a percent-encoded ASCII string.
So if we are parsing the config from the URL redis://default:abc%2F123@localhost:6379, then the password that will be sent to Redis would be abc%2F123 instead of abc/123
The text was updated successfully, but these errors were encountered:
the
utils::parse_url_credentials
method gets the username and password from the URL using its direct methods:fred.rs/src/utils.rs
Lines 735 to 744 in aa7fc02
But those methods return the value as a percent encoded string: https://docs.rs/url/latest/url/struct.Url.html#method.username
So if we are parsing the config from the URL
redis://default:abc%2F123@localhost:6379
, then the password that will be sent to Redis would beabc%2F123
instead ofabc/123
The text was updated successfully, but these errors were encountered: