BeanShell support

This commit is contained in:
Mihai Pitu 2013-09-18 17:49:14 +01:00 committed by Felipe Zimmerle
parent 28e6ad8963
commit 1b5de94f3d

View File

@ -2208,7 +2208,7 @@ static apr_status_t msre_action_exec_execute(modsec_rec *msr, apr_pool_t *mptmp,
bsh = 1;
if (bsh) {
//beanshell_execute(action->param, msr, mptmp, rule);
//beanshell_execute(action->param, msr, mptmp, rule); //previous approach using APR API for starting a process
char *script_output = NULL;
int rc;
const char *start = "java -classpath bsh*.jar bsh.Interpreter ";