Now that the underlying redis escape function handles spaces and
control characters
break;
default:
break;
- };
+ }
(data->redis_inst->redis_finish_query)(dissocket);
return RLM_MODULE_NOOP;
}
- if (strchr(request->username->vp_strvalue, ' ')) {
- RDEBUG("Spaces are not allowed in the User-Name");
- return RLM_MODULE_NOOP;
- }
-
- if (strchr(request->username->vp_strvalue, '\n')) {
- RDEBUG("CR are not allowed in the User-Name");
- return RLM_MODULE_NOOP;
- }
-
dissocket = data->redis_inst->redis_get_socket(data->redis_inst);
if (dissocket == NULL) {
RDEBUG("cannot allocate redis connection");