lua-resty-shell icon indicating copy to clipboard operation
lua-resty-shell copied to clipboard

attempt to index upvalue 'shell' (a userdata value)

Open dockss-911 opened this issue 4 years ago • 1 comments

local shell = require "resty.shell" ngx.req.read_body() local args = ngx.req.get_post_args()

shell.run("/bin/echo", args.name)

dockss-911 avatar Mar 12 '21 14:03 dockss-911

nginx version is 1.19.4 ,the same code can run on nginx 1.17.7

dockss-911 avatar Mar 15 '21 00:03 dockss-911