[mod_magnet] skip req body collect warn if modsec3
skip req body collect warning if handler is already mod_security3 (prototype mod_security3 uses similar technique to collect req body)personal/stbuehler/tests-path
parent
a01e62bb7d
commit
8bdea5db14
|
@ -2443,6 +2443,10 @@ static int magnet_reqbody(lua_State *L) {
|
|||
r->handler_module = plugin_data_singleton->self;
|
||||
lua_pushboolean(L, 0);
|
||||
}
|
||||
else if (0 == strcmp(r->handler_module->name, "security3")) {
|
||||
/*(mod_security3 uses similar technique to collect req body)*/
|
||||
lua_pushboolean(L, 0);
|
||||
}
|
||||
else {
|
||||
log_error(r->conf.errh, __FILE__, __LINE__,
|
||||
"unable to collect request body (handler already set); "
|
||||
|
|
Loading…
Reference in New Issue