diff options
author | Tobias Markmann <tm@ayena.de> | 2009-11-30 20:53:25 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2009-11-30 20:53:25 +0100 |
commit | 2100104326791787aafc14012c731e54ed4c35fa (patch) | |
tree | bb5ddc89a90202b0f2bea3e3efcbbbe83c0c20d1 | |
parent | 70c975bfe07e639931a0f6e1e21c4783ac6fa5a1 (diff) | |
download | prosody-2100104326791787aafc14012c731e54ed4c35fa.tar.gz prosody-2100104326791787aafc14012c731e54ed4c35fa.zip |
util.sasl.scram: Making =2D and =3D substitution actually work.
-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); |