jxwaf icon indicating copy to clipboard operation
jxwaf copied to clipboard

上传文件时,nginx日志报错:attempt to call local '_file_content_disposition' (a table value)

Open heroking opened this issue 1 year ago • 2 comments

上传文件,nginx日志报错: 2023/05/15 18:20:55 [error] 21691#0: *122 [lua] access.lua:5: /opt/jxwaf/lualib/resty/jxwaf/waf.lua:750: attempt to call local '_file_content_disposition' (a table value)

修复办法: 修改/opt/jxwaf/lualib/resty/jxwaf/waf.lua文件750行 ngx.ctx.file_content_disposition = table.concat(_file_content_disposition" ") 改成: ngx.ctx.file_content_disposition = table.concat(_file_content_disposition," ")

heroking avatar May 16 '23 01:05 heroking

mark

jx-sec avatar Jun 09 '23 03:06 jx-sec

感谢反馈,已修复

jx-sec avatar Jun 09 '23 03:06 jx-sec