diff options
author | Kim Alvefur <zash@zash.se> | 2019-11-01 23:11:43 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-11-01 23:11:43 +0100 |
commit | 64a2f6c1920e46288b323efcf9ce445fde61226a (patch) | |
tree | e95f91258f5ab93c43f6f32ac13d12e1f1e7850b /plugins | |
parent | 45936787cb44aaef09f568cc2d74c4de6113579b (diff) | |
download | prosody-64a2f6c1920e46288b323efcf9ce445fde61226a.tar.gz prosody-64a2f6c1920e46288b323efcf9ce445fde61226a.zip |
mod_register_ibr: Enforce strict JID validation
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_register_ibr.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_register_ibr.lua b/plugins/mod_register_ibr.lua index 32e6f710..6de9bc33 100644 --- a/plugins/mod_register_ibr.lua +++ b/plugins/mod_register_ibr.lua @@ -155,7 +155,7 @@ module:hook("stanza/iq/jabber:iq:register:query", function(event) return true; end - local username, password = nodeprep(data.username), data.password; + local username, password = nodeprep(data.username, true), data.password; data.username, data.password = nil, nil; local host = module.host; if not username or username == "" then |