added comment to remind us to fix binary output breaking the terminal
authorjorj@jorj.org <jorj@jorj.org>
Wed, 23 Dec 2009 21:45:03 +0000 (16:45 -0500)
committerjorj@jorj.org <jorj@jorj.org>
Wed, 23 Dec 2009 21:45:03 +0000 (16:45 -0500)
later

plugins/mod_saslauth.lua

index 19ed972f032d051fbeec1201406024880c63fee0..0d3fdd833a2c783d7b8e586362ef026c1759137c 100644 (file)
@@ -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);
+               log("debug", "%s", text); -- FIXME: binary output will screw up the terminal
                if not text then
                        session.sasl_handler = nil;
                        session.send(build_reply("failure", "incorrect-encoding"));