diff options
-rw-r--r-- | util/sasl/scram.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua index 7d60ef86..a7b21d0d 100644 --- a/util/sasl/scram.lua +++ b/util/sasl/scram.lua @@ -70,6 +70,8 @@ local function validate_username(username) end -- replace =2D with , and =3D with = + username:gsub("=2D", ","); + username:gsub("=3D", "="); -- apply SASLprep username = saslprep(username); |