diff options
author | Tobias Markmann <tm@ayena.de> | 2009-11-30 23:25:10 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2009-11-30 23:25:10 +0100 |
commit | 37ace9243be47afe89013bc44912af491f9b1d9b (patch) | |
tree | 052db778333769cbf84a469d86c3933212573213 /util/sasl/scram.lua | |
parent | 4d1368b58f7aafa6593bcff2d9684441e09fbc4d (diff) | |
parent | 2100104326791787aafc14012c731e54ed4c35fa (diff) | |
download | prosody-37ace9243be47afe89013bc44912af491f9b1d9b.tar.gz prosody-37ace9243be47afe89013bc44912af491f9b1d9b.zip |
Merge with tip.
Diffstat (limited to 'util/sasl/scram.lua')
-rw-r--r-- | util/sasl/scram.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua index 1e9c6f7d..be82c60e 100644 --- a/util/sasl/scram.lua +++ b/util/sasl/scram.lua @@ -70,8 +70,8 @@ local function validate_username(username) 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); |