Changeset

2395:7d7618c21321

added comment to remind us to fix binary output breaking the terminal later
author jorj@jorj.org
date Wed, 23 Dec 2009 16:45:03 -0500
parents 2394:a2972f9fda6d
children 2396:39b2523bcf44
files plugins/mod_saslauth.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Tue Dec 22 21:08:58 2009 +0100
+++ b/plugins/mod_saslauth.lua	Wed Dec 23 16:45:03 2009 -0500
@@ -121,7 +121,7 @@
 	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"));