rlm_redis argument splitting
authorBrian Candler <b.candler@pobox.com>
Sat, 9 Feb 2013 10:20:10 +0000 (10:20 +0000)
committerBrian Candler <b.candler@pobox.com>
Tue, 26 Feb 2013 17:42:28 +0000 (17:42 +0000)
commitfebce147aba0874cc19089140efd495045c3d9cd
tree36edc9a8f55d6d6f8fe1e0cc526bd746c7d4729a
parent0d35dc18a1fad332a0c0d2af35279b2eed9a22b4
rlm_redis argument splitting

rlm_redis_query now splits the query into separate arguments and expands
each one individually.

This allows for both string literals and expansions to contain spaces, e.g.

    %{redis:LPUSH 'my key' %{User-Name}}
src/modules/rlm_redis/rlm_redis.c
src/modules/rlm_redis/rlm_redis.h
src/modules/rlm_rediswho/rlm_rediswho.c