@@ -522,11 +522,11 @@ static ngx_command_t ngx_http_modsecurity_commands[] = {
522522 NULL
523523 },
524524 {
525- ngx_string ("modsecurity_skip_res_body_filter " ),
525+ ngx_string ("modsecurity_skip_resp_body_filter " ),
526526 NGX_HTTP_LOC_CONF |NGX_HTTP_SRV_CONF |NGX_HTTP_MAIN_CONF |NGX_CONF_FLAG ,
527527 ngx_conf_set_flag_slot ,
528528 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 ),
530530 NULL
531531 },
532532 ngx_null_command
@@ -741,7 +741,7 @@ ngx_http_modsecurity_create_conf(ngx_conf_t *cf)
741741 conf -> pool = cf -> pool ;
742742 conf -> transaction_id = NGX_CONF_UNSET_PTR ;
743743 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 ;
745745#if defined(MODSECURITY_SANITY_CHECKS ) && (MODSECURITY_SANITY_CHECKS )
746746 conf -> sanity_checks_enabled = NGX_CONF_UNSET ;
747747#endif
@@ -782,7 +782,7 @@ ngx_http_modsecurity_merge_conf(ngx_conf_t *cf, void *parent, void *child)
782782 ngx_conf_merge_value (c -> enable , p -> enable , 0 );
783783 ngx_conf_merge_ptr_value (c -> transaction_id , p -> transaction_id , NULL );
784784 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 );
786786#if defined(MODSECURITY_SANITY_CHECKS ) && (MODSECURITY_SANITY_CHECKS )
787787 ngx_conf_merge_value (c -> sanity_checks_enabled , p -> sanity_checks_enabled , 0 );
788788#endif
0 commit comments