# HG changeset patch # User Tobias Markmann # Date 1259610805 -3600 # Node ID 7fe644057dc26ac358dda8fc03961e777751e4ff # Parent 49580a13f71ec945807c780521f064135db11ba2 util.sasl.scram: Making =2D and =3D substitution actually work. diff -r 49580a13f71e -r 7fe644057dc2 util/sasl/scram.lua --- 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);