# HG changeset patch # User Tobias Markmann # Date 1228002263 -3600 # Node ID abc4fd4d262a305e3ef1f6f9e155c88e24e7dbda # Parent 9087f39b42228e3e72069a85435ed8e50bc1b1af Do idna-to-ascii to the realm we send first in Digest-MD5. diff -r 9087f39b4222 -r abc4fd4d262a util/sasl.lua --- 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)