fix post data mpty
parent
513c19dea5
commit
686219a71c
2
init.lua
2
init.lua
|
@ -137,7 +137,7 @@ function ua()
|
|||
end
|
||||
function body(data)
|
||||
for _,rule in pairs(postrules) do
|
||||
if rule ~="" and ngxmatch(unescape(data),rule,"imjo") then
|
||||
if rule ~="" and data~="" and ngxmatch(unescape(data),rule,"imjo") then
|
||||
log('POST',ngx.var.request_uri,data,rule)
|
||||
say_html()
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue