Software /
code /
prosody
Diff
util/sasl/scram.lua @ 2265:7fe644057dc2
util.sasl.scram: Making =2D and =3D substitution actually work.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Mon, 30 Nov 2009 20:53:25 +0100 |
parent | 2255:92e329e1cd99 |
child | 2266:6e662e4f7ab2 |
line wrap: on
line diff
--- a/util/sasl/scram.lua Mon Nov 30 16:39:27 2009 +0000 +++ b/util/sasl/scram.lua Mon Nov 30 20:53:25 2009 +0100 @@ -70,8 +70,8 @@ end -- replace =2D with , and =3D with = - username:gsub("=2D", ","); - username:gsub("=3D", "="); + username = username:gsub("=2D", ","); + username = username:gsub("=3D", "="); -- apply SASLprep username = saslprep(username);