Skip to content

Commit

Permalink
🐛 Directive waf_priority.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADD-SP committed May 1, 2021
1 parent bf35bd5 commit 28008bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/ngx_http_waf_module_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ static char* ngx_http_waf_priority_conf(ngx_conf_t* cf, ngx_command_t* cmd, void
}


if (utarray_len(array) != 10) {
if (utarray_len(array) != 11) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, NGX_EINVAL,
"ngx_waf: you must specify the priority of all inspections except for POST inspections");
return NGX_CONF_ERROR;
Expand Down

0 comments on commit 28008bb

Please sign in to comment.