mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Fixed Action Drop not work
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user