aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/sasl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index f1d01aed..b549b7c8 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -87,7 +87,7 @@ local function new_digest_md5(realm, password_handler)
qop = "auth",
charset = "utf-8",
algorithm = "md5-sess",
- realm = self.realm});
+ realm = idna_ascii(self.realm)});
return "challenge", challenge
elseif (self.step == 2) then
local response = parse(message)