@@ -522,11 +522,11 @@ static ngx_command_t ngx_http_modsecurity_commands[] = {
522
522
NULL
523
523
},
524
524
{
525
- ngx_string ("modsecurity_skip_res_body_filter " ),
525
+ ngx_string ("modsecurity_skip_resp_body_filter " ),
526
526
NGX_HTTP_LOC_CONF |NGX_HTTP_SRV_CONF |NGX_HTTP_MAIN_CONF |NGX_CONF_FLAG ,
527
527
ngx_conf_set_flag_slot ,
528
528
NGX_HTTP_LOC_CONF_OFFSET ,
529
- offsetof(ngx_http_modsecurity_conf_t , skip_res_body_filter ),
529
+ offsetof(ngx_http_modsecurity_conf_t , skip_resp_body_filter ),
530
530
NULL
531
531
},
532
532
ngx_null_command
@@ -741,7 +741,7 @@ ngx_http_modsecurity_create_conf(ngx_conf_t *cf)
741
741
conf -> pool = cf -> pool ;
742
742
conf -> transaction_id = NGX_CONF_UNSET_PTR ;
743
743
conf -> skip_req_body_filter = NGX_CONF_UNSET ;
744
- conf -> skip_res_body_filter = NGX_CONF_UNSET ;
744
+ conf -> skip_resp_body_filter = NGX_CONF_UNSET ;
745
745
#if defined(MODSECURITY_SANITY_CHECKS ) && (MODSECURITY_SANITY_CHECKS )
746
746
conf -> sanity_checks_enabled = NGX_CONF_UNSET ;
747
747
#endif
@@ -782,7 +782,7 @@ ngx_http_modsecurity_merge_conf(ngx_conf_t *cf, void *parent, void *child)
782
782
ngx_conf_merge_value (c -> enable , p -> enable , 0 );
783
783
ngx_conf_merge_ptr_value (c -> transaction_id , p -> transaction_id , NULL );
784
784
ngx_conf_merge_value (c -> skip_req_body_filter , p -> skip_req_body_filter , 0 );
785
- ngx_conf_merge_value (c -> skip_res_body_filter , p -> skip_res_body_filter , 0 );
785
+ ngx_conf_merge_value (c -> skip_resp_body_filter , p -> skip_resp_body_filter , 0 );
786
786
#if defined(MODSECURITY_SANITY_CHECKS ) && (MODSECURITY_SANITY_CHECKS )
787
787
ngx_conf_merge_value (c -> sanity_checks_enabled , p -> sanity_checks_enabled , 0 );
788
788
#endif
0 commit comments