Fixed Action Drop not work

This commit is contained in:
chaizhenhua 2013-01-27 08:05:46 +08:00
parent 972d9e2abf
commit ed1d3d927a

View File

@ -668,6 +668,9 @@ ngx_http_modsecurity_create_ctx(ngx_http_request_t *r)
if (ctx->brigade == NULL) {
return NULL;
}
apr_table_setn(ctx->req->notes, NOTE_NGINX_REQUEST_CTX, (const char *) ctx);
return ctx;
}