Comparison

util/sasl/scram.lua @ 2287:efea91c740a2

Merge with tip.
author Tobias Markmann <tm@ayena.de>
date Mon, 30 Nov 2009 23:25:10 +0100
parent 2265:7fe644057dc2
child 2266:6e662e4f7ab2
comparison
equal deleted inserted replaced
2286:e0b2d934f316 2287:efea91c740a2
68 return false 68 return false
69 end 69 end
70 end 70 end
71 71
72 -- replace =2D with , and =3D with = 72 -- replace =2D with , and =3D with =
73 username:gsub("=2D", ","); 73 username = username:gsub("=2D", ",");
74 username:gsub("=3D", "="); 74 username = username:gsub("=3D", "=");
75 75
76 -- apply SASLprep 76 -- apply SASLprep
77 username = saslprep(username); 77 username = saslprep(username);
78 return username; 78 return username;
79 end 79 end