From 290656409f643d7c896f38bafa4fefbac9db45a8 Mon Sep 17 00:00:00 2001 From: Nicolas Favre-Felix Date: Sat, 7 Sep 2013 11:09:31 +0100 Subject: [PATCH] Disable SELECT command - issue #80 --- acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acl.c b/acl.c index 8029a85..160e6e5 100644 --- a/acl.c +++ b/acl.c @@ -39,7 +39,7 @@ acl_match_client(struct acl *a, struct http_client *client, in_addr_t *ip) { int acl_allow_command(struct cmd *cmd, struct conf *cfg, struct http_client *client) { - char *always_off[] = {"MULTI", "EXEC", "WATCH", "DISCARD"}; + char *always_off[] = {"MULTI", "EXEC", "WATCH", "DISCARD", "SELECT"}; unsigned int i; int authorized = 1;