Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
heroking opened this issue May 16, 2023 · 2 comments
Labels

Comments

@heroking
Copy link

上传文件,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," ")

@jx-sec jx-sec added bug labels Jun 9, 2023
@jx-sec
Copy link
Owner

jx-sec commented Jun 9, 2023

mark

@jx-sec
Copy link
Owner

jx-sec commented Jun 9, 2023

感谢反馈,已修复

@jx-sec jx-sec closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants