aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-06-20 19:06:04 +0200
committerTobias Markmann <tm@ayena.de>2009-06-20 19:06:04 +0200
commit8be1d2e2d67939f263e0e1b2ed202e2aa9ea4eff (patch)
tree598196dbd825a6a9bef35dd94d2170c33c620423 /util/sasl.lua
parent0405ab8738672fb4b23de8231cd49934e8d95ffa (diff)
downloadprosody-8be1d2e2d67939f263e0e1b2ed202e2aa9ea4eff.tar.gz
prosody-8be1d2e2d67939f263e0e1b2ed202e2aa9ea4eff.zip
Adding COMPAT comment.
Diffstat (limited to 'util/sasl.lua')
-rw-r--r--util/sasl.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index 7f023321..11a25f3a 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -205,6 +205,7 @@ local function new_digest_md5(realm, password_handler)
local A1 = "";
if response.authzid then
if response.authzid == self.username.."@"..self.realm then
+ -- COMPAT
log("warn", "Client is violating XMPP RFC. See section 6.1 of RFC 3920.");
A1 = Y..":"..response["nonce"]..":"..response["cnonce"]..":"..response.authzid;
else