diff options
author | Tobias Markmann <tm@ayena.de> | 2008-11-30 00:44:23 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2008-11-30 00:44:23 +0100 |
commit | 9535a107ffbfb3c296304230e821ad74d7db1579 (patch) | |
tree | bda7f52487bafc4e35c56b63874110e64ecd164d /util/sasl.lua | |
parent | 4bed2a5772a88b0286608d80e154e29487927523 (diff) | |
download | prosody-9535a107ffbfb3c296304230e821ad74d7db1579.tar.gz prosody-9535a107ffbfb3c296304230e821ad74d7db1579.zip |
Do idna-to-ascii to the realm we send first in Digest-MD5.
Diffstat (limited to 'util/sasl.lua')
-rw-r--r-- | util/sasl.lua | 2 |
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) |