redis-lua
redis-lua copied to clipboard
Connect ignores database number in path of URL
Given the code:
local client = redis.connect('redis://localhost:6379/9')
The expected result is that database #9 is either selected, or the connect should fail. This is standard in many other client libs for Redis.
This is similar to issue #44, where a password in the URL is also ignored.