fix(script): bound how deep json.encode walks a Lua table

This commit is contained in:
aykhans committed 2026-10-01 22:13:29 +04:00
1 parent 847c4b39ce
commit cd0fa453c2
2 files changed
+12

No files matched your search

+1
View File
@@ -442,6 +442,7 @@ var (
ErrScriptHTTPURLInvalid = errors.New("URL must be an absolute http or https URL")
ErrScriptHTTPUnknownOption = errors.New("unknown option")
ErrScriptJSONCycle = errors.New("cannot encode a table that contains itself")
ErrScriptJSONDepth = errors.New("cannot encode a table nested too deeply")
)
type ScriptTypeError struct {