mirror of
https://github.com/potats0/lua-resty-coraza.git
synced 2025-06-28 17:41:00 +03:00
fixed: 调用错误
This commit is contained in:
parent
0f1196d55f
commit
48be5fe980
@ -132,7 +132,7 @@ function _M.do_body_filter()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function _M.do_log()
|
function _M.do_log()
|
||||||
coraza.process_logging()
|
coraza.process_logging(ngx_ctx.transaction)
|
||||||
local msg = coraza.get_matched_logmsg(ngx_ctx.transaction)
|
local msg = coraza.get_matched_logmsg(ngx_ctx.transaction)
|
||||||
ngx_ctx.coraza_msg = msg
|
ngx_ctx.coraza_msg = msg
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user