aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_saslauth.lua
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-12-23 23:13:39 +0100
committerTobias Markmann <tm@ayena.de>2009-12-23 23:13:39 +0100
commitea8ac406e621e35f1205e40757c140b5b5e4f4df (patch)
tree595b556ba5cd90d0c839a3c94de8bbf5ae55dc16 /plugins/mod_saslauth.lua
parent04a38eb6c5fad9ccd5ee7c01b09be4861273203e (diff)
downloadprosody-ea8ac406e621e35f1205e40757c140b5b5e4f4df.tar.gz
prosody-ea8ac406e621e35f1205e40757c140b5b5e4f4df.zip
mod_saslauth: Adjust sanitizing.
Diffstat (limited to 'plugins/mod_saslauth.lua')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index fc646ebc..92853522 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -121,7 +121,7 @@ local function sasl_handler(session, stanza)
local text = stanza[1];
if text then
text = base64.decode(text);
- log("debug", "%s", text:gsub("[%z\001-\009\011\012\014-\031]", " "));
+ log("debug", "%s", text:gsub("[%z\001-\008\011\012\014-\031]", " "));
if not text then
session.sasl_handler = nil;
session.send(build_reply("failure", "incorrect-encoding"));