26 Oct
2012
26 Oct
'12
4:25 p.m.
My $0.02 is to do what src/main/exec.c does. Pass the *raw* query string into rlm_redis_query. It then splits the string into argv, and calls radius_xlat() on each one. It then passes the argv array to redisCommand.
I'll see if I can rework this; I think it will involve changing redis_query to take an argv/argc set of arguments instead of a char* query. FWIW, I also found another problem, which is that the TRIM command was never being called. There's a fix for that on my branch now, but it'll get rebased when I sort the other issue. Regards, Brian.