Sun, 30 Nov 2008 00:44:23 +0100
Do idna-to-ascii to the realm we send first in Digest-MD5.
util/sasl.lua | file | annotate | diff | comparison | revisions |
--- a/util/sasl.lua Sat Nov 29 22:11:21 2008 +0100 +++ b/util/sasl.lua Sun Nov 30 00:44:23 2008 +0100 @@ -87,7 +87,7 @@ 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)