fix post data mpty

pull/28/head
loveshell 10 years ago
parent 513c19dea5
commit 686219a71c

@ -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…
Cancel
Save