diff options
author | Kim Alvefur <zash@zash.se> | 2019-10-30 16:22:44 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-10-30 16:22:44 +0100 |
commit | 42aeda373c62b60224608b188b4a776afe534511 (patch) | |
tree | 24a23ae603971c7c225e308f11e8704d457fbc44 /spec/util_jid_spec.lua | |
parent | 31d6d1a42b9928648961f418dedfa778e60bc0ba (diff) | |
download | prosody-42aeda373c62b60224608b188b4a776afe534511.tar.gz prosody-42aeda373c62b60224608b188b4a776afe534511.zip |
util.encodings: Strictly verify that the 'strict' *prep argument is a boolean
This is to prevent mistakes like nodeprep(username:gsub("a","b")) from
unintentionally invoking strict mode.
Diffstat (limited to 'spec/util_jid_spec.lua')
0 files changed, 0 insertions, 0 deletions