Skip to content

Commit 7921667

Browse files
committed
Note about password escaping fixes #863
1 parent a2faafb commit 7921667

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ You can also specify connection options as a [`redis://` URL][redis-url]:
3434
redis = Redis.new(url: "redis://:[email protected]:6380/15")
3535
```
3636

37+
The client expects passwords with special chracters to be URL-encoded (i.e.
38+
`CGI.escape(pasword)`).
39+
3740
By default, the client will try to read the `REDIS_URL` environment variable
3841
and use that as URL to connect to. The above statement is therefore equivalent
3942
to setting this environment variable and calling `Redis.new` without arguments.

0 commit comments

Comments
 (0)