Software /
code /
prosody
Changeset
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 |
parents | 2264:49580a13f71e |
children | 2266:6e662e4f7ab2 2270:97f25da177af 2287:efea91c740a2 |
files | util/sasl/scram.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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);