Why os.date() and table.concat() is not safe function #8071
Answered
by
kikito
GYWang1983
asked this question in
Help
-
-- Safe packages/functions below kong/kong/tools/kong-lua-sandbox.lua Line 73 in 4f5b85d os.date is useful for formatting timestamp to date string in http headers
kong/kong/tools/kong-lua-sandbox.lua Line 79 in 4f5b85d Use |
Beta Was this translation helpful? Give feedback.
Answered by
kikito
Nov 16, 2021
Replies: 1 comment
-
Thanks for this report. I have studied both functions and I see no reason why they should be blocked by the sandbox. I have created a PR for including those #8081 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
GYWang1983
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this report. I have studied both functions and I see no reason why they should be blocked by the sandbox. I have created a PR for including those #8081