From 02621b42c1a2459716f99a36c5ac4d05f07339dc Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 10 Feb 2017 10:28:37 +0000 Subject: [PATCH] [Minor] Disable lua files execution for now --- src/controller.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controller.c b/src/controller.c index bdbbe23c6..8406b6236 100644 --- a/src/controller.c +++ b/src/controller.c @@ -3558,10 +3558,12 @@ start_controller_worker (struct rspamd_worker *worker) rspamd_controller_handle_plugins); rspamd_controller_register_plugins_paths (ctx); +#if 0 rspamd_regexp_t *lua_re = rspamd_regexp_new ("^/.*/.*\\.lua$", NULL, NULL); rspamd_http_router_add_regexp (ctx->http, lua_re, rspamd_controller_handle_lua); rspamd_regexp_unref (lua_re); +#endif luaopen_controller (ctx->cfg->lua_state); if (ctx->key) { -- 2.39.5