Mon, 13 Dec 2021 16:34:55 +0100 util.format: Ensure metatable __tostring results are also sanitized
Kim Alvefur <zash@zash.se> [Mon, 13 Dec 2021 16:34:55 +0100] rev 12043
util.format: Ensure metatable __tostring results are also sanitized
Sun, 12 Dec 2021 18:38:40 +0100 mod_smacks: Include reason for destroying session on hibernation timeout
Kim Alvefur <zash@zash.se> [Sun, 12 Dec 2021 18:38:40 +0100] rev 12042
mod_smacks: Include reason for destroying session on hibernation timeout To aid in debugging
Sat, 11 Dec 2021 20:58:09 +0100 tools/generate_format_spec: Apply lua-format to silence luacheck
Kim Alvefur <zash@zash.se> [Sat, 11 Dec 2021 20:58:09 +0100] rev 12041
tools/generate_format_spec: Apply lua-format to silence luacheck
Sat, 11 Dec 2021 20:54:37 +0100 util.format: Fix some formats expecting positive numbers in Lua 5.2
Kim Alvefur <zash@zash.se> [Sat, 11 Dec 2021 20:54:37 +0100] rev 12040
util.format: Fix some formats expecting positive numbers in Lua 5.2 Amazing how string.format behaves differently under each Lua version
Sat, 11 Dec 2021 20:40:23 +0100 util.format: Fix Lua 5.1 quirks thanks to ALL THE TESTS
Kim Alvefur <zash@zash.se> [Sat, 11 Dec 2021 20:40:23 +0100] rev 12039
util.format: Fix Lua 5.1 quirks thanks to ALL THE TESTS
Sat, 11 Dec 2021 20:38:54 +0100 util.format: ALL THE TESTS!!!
Kim Alvefur <zash@zash.se> [Sat, 11 Dec 2021 20:38:54 +0100] rev 12038
util.format: ALL THE TESTS!!! The more tests I made, the more Lua 5.1 quirks I discovered. Tests generated using a tool plus some touch-up.
Sat, 11 Dec 2021 13:39:58 +0100 util.format: Also handle the %p format added in Lua 5.4
Kim Alvefur <zash@zash.se> [Sat, 11 Dec 2021 13:39:58 +0100] rev 12037
util.format: Also handle the %p format added in Lua 5.4
Sat, 11 Dec 2021 13:30:34 +0100 util.format: Ensure sanitation of strings passed to wrong format
Kim Alvefur <zash@zash.se> [Sat, 11 Dec 2021 13:30:34 +0100] rev 12036
util.format: Ensure sanitation of strings passed to wrong format Ie. log("debug", "%d", "\1\2\3") should not result in garbage. Also optimizing for the common case of ASCII string passed to %s and early returns everywhere. Returning nil from a gsub callback keeps the original substring.
Fri, 10 Dec 2021 22:48:45 +0100 util.format: Escape invalid UTF-8 by passing trough serialization
Kim Alvefur <zash@zash.se> [Fri, 10 Dec 2021 22:48:45 +0100] rev 12035
util.format: Escape invalid UTF-8 by passing trough serialization Should prevent invalid UTF-8 from making it into the logs, which can cause trouble with terminals or log viewers or other tools, such as when grep determines that log files are binary.
Fri, 10 Dec 2021 22:25:34 +0100 mod_mam: Avoid storing bounces for messages from the bare account (thanks Ge0rG)
Kim Alvefur <zash@zash.se> [Fri, 10 Dec 2021 22:25:34 +0100] rev 12034
mod_mam: Avoid storing bounces for messages from the bare account (thanks Ge0rG) This should rule out error replies to PEP notifications, which come from the account bare JID, and would be reflected back to it if they can't be delivered for some reason, e.g. s2s problems.
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip