@@ -535,11 +535,11 @@ static ngx_command_t ngx_http_modsecurity_commands[] = {
535535 NULL
536536 },
537537 {
538- ngx_string ("modsecurity_skip_res_body_filter " ),
538+ ngx_string ("modsecurity_skip_resp_body_filter " ),
539539 NGX_HTTP_LOC_CONF |NGX_HTTP_SRV_CONF |NGX_HTTP_MAIN_CONF |NGX_CONF_FLAG ,
540540 ngx_conf_set_flag_slot ,
541541 NGX_HTTP_LOC_CONF_OFFSET ,
542- offsetof(ngx_http_modsecurity_conf_t , skip_res_body_filter ),
542+ offsetof(ngx_http_modsecurity_conf_t , skip_resp_body_filter ),
543543 NULL
544544 },
545545 ngx_null_command
@@ -738,7 +738,7 @@ ngx_http_modsecurity_create_conf(ngx_conf_t *cf)
738738 conf -> transaction_id = NGX_CONF_UNSET_PTR ;
739739 conf -> use_error_log = NGX_CONF_UNSET ;
740740 conf -> skip_req_body_filter = NGX_CONF_UNSET ;
741- conf -> skip_res_body_filter = NGX_CONF_UNSET ;
741+ conf -> skip_resp_body_filter = NGX_CONF_UNSET ;
742742#if defined(MODSECURITY_SANITY_CHECKS ) && (MODSECURITY_SANITY_CHECKS )
743743 conf -> sanity_checks_enabled = NGX_CONF_UNSET ;
744744#endif
@@ -780,7 +780,7 @@ ngx_http_modsecurity_merge_conf(ngx_conf_t *cf, void *parent, void *child)
780780 ngx_conf_merge_ptr_value (c -> transaction_id , p -> transaction_id , NULL );
781781 ngx_conf_merge_value (c -> use_error_log , p -> use_error_log , 1 );
782782 ngx_conf_merge_value (c -> skip_req_body_filter , p -> skip_req_body_filter , 0 );
783- ngx_conf_merge_value (c -> skip_res_body_filter , p -> skip_res_body_filter , 0 );
783+ ngx_conf_merge_value (c -> skip_resp_body_filter , p -> skip_resp_body_filter , 0 );
784784#if defined(MODSECURITY_SANITY_CHECKS ) && (MODSECURITY_SANITY_CHECKS )
785785 ngx_conf_merge_value (c -> sanity_checks_enabled , p -> sanity_checks_enabled , 0 );
786786#endif
0 commit comments