nrk / redis-lua

A Lua client library for the redis key value storage system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect ignores database number in path of URL

drauschenbach opened this issue · comments

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.