Software /
code /
prosody
Changeset
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 |
parents | 490:9087f39b4222 |
children | 496:b3251b137d68 |
files | util/sasl.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)