Skip to content

Commit 65d8896

Browse files
committed
Fixed Action Deny not Work
1 parent ed1d3d9 commit 65d8896

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

standalone/api.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,10 @@ int modsecProcessRequestBody(request_rec *r) {
472472

473473
ap_remove_input_filter(f);
474474

475+
if (status != DECLINED) {
476+
return status;
477+
}
478+
475479
hookfn_insert_filter(r);
476480

477481
/* Find the transaction context first. */

0 commit comments

Comments
 (0)