[style] Update format

pull/13/head
oneinstack 2020-03-14 17:00:14 +08:00
parent 7b238357ae
commit aa72bec7e7
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ end
function post_attack_check()
if config_post_check == "on" and ngx.var.request_method == "POST" then
local POST_RULES = get_rule("post")
for _,rule in pairs(POST_RULES) do
for _,rule in pairs(POST_RULES) do
-- local REQ_POST = ngx.req.get_post_args()
local REQ_POST, err = ngx.req.get_post_args()
if err == "truncated" then