--- a/util/sasl/scram.lua Wed Nov 18 23:26:35 2009 +0100
+++ b/util/sasl/scram.lua Thu Nov 19 00:04:14 2009 +0100
@@ -70,6 +70,8 @@
end
-- replace =2D with , and =3D with =
+ username:gsub("=2D", ",");
+ username:gsub("=3D", "=");
-- apply SASLprep
username = saslprep(username);