aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-08-28 19:43:33 +0200
committerTobias Markmann <tm@ayena.de>2009-08-28 19:43:33 +0200
commitc73807ad0892ac4d205740786ae2fbfcd351e03f (patch)
tree913b3621aa91cc3a53fd6662736d16b0fa315b78
parentAllow ampersands in passwords for SASL PLAIN mechanism. (diff)
downloadprosody-c73807ad0892ac4d205740786ae2fbfcd351e03f.tar.xz
prosody-c73807ad0892ac4d205740786ae2fbfcd351e03f.zip
List RFC numbers.
-rw-r--r--util/sasl.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index e7d907043..8cb850339 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -116,7 +116,7 @@ function method:process(message)
end
--=========================
---SASL PLAIN
+--SASL PLAIN according to RFC 4616
local function sasl_mechanism_plain(self, message)
local response = message
local authorization = s_match(response, "([^%z]+)")
@@ -149,4 +149,6 @@ local function sasl_mechanism_plain(self, message)
end
registerMechanism("PLAIN", {"plain", "plain_test"}, sasl_mechanism_plain);
+--=========================
+--SASL DIGEST-MD5
return _M;