Software /
code /
prosody
Diff
util/sasl.lua @ 495:abc4fd4d262a
Do idna-to-ascii to the realm we send first in Digest-MD5.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Sun, 30 Nov 2008 00:44:23 +0100 |
parent | 476:4744735a0a5e |
child | 496:b3251b137d68 |
line wrap: on
line diff
--- 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)