aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_insecure.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-11 13:30:34 +0100
committerKim Alvefur <zash@zash.se>2021-12-11 13:30:34 +0100
commit1eca4e8870f69699f7bc9bbd132a7bf64ca70918 (patch)
treef46fbc10f5c88e0a0468b41f9dc5718b5a7e9aec /plugins/mod_auth_insecure.lua
parentd4c145179420e6de0d2189059ea988072a7e7e45 (diff)
downloadprosody-1eca4e8870f69699f7bc9bbd132a7bf64ca70918.tar.gz
prosody-1eca4e8870f69699f7bc9bbd132a7bf64ca70918.zip
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.
Diffstat (limited to 'plugins/mod_auth_insecure.lua')
0 files changed, 0 insertions, 0 deletions