]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Preserve metatables in shallowcopy and save test configs
authorVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 19 Nov 2025 12:44:15 +0000 (12:44 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 19 Nov 2025 12:44:15 +0000 (12:44 +0000)
commita29cf4046ed5615dcb0b4e6a5146fcd0d16bab98
treedeec04ef25ca41856224eb6ab19f5196cf380ae1
parent7b341676c59b8c1e8a010d8b0ff33d6779760bd2
[Fix] Preserve metatables in shallowcopy and save test configs

- Fix shallowcopy to preserve metatables when copying schema objects
- Ensure configdump output and input config are always saved to robot-save
  even if configdump crashes with assertion failure
lualib/lua_shape/core.lua
lualib/lua_shape/registry.lua
test/functional/lib/rspamd.robot