From 3731b7aec98d1d39b03f3e5a289f8e37226d29bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Martinovi=C4=87?= Date: Sat, 19 May 2012 22:42:47 +0300 Subject: [PATCH] Providing jid parameter here breaks RFC3920, section 6.1 point 7 during SASL auth. --- lib/XmppPrebind.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/XmppPrebind.php b/lib/XmppPrebind.php index 5d33484..76e4b18 100644 --- a/lib/XmppPrebind.php +++ b/lib/XmppPrebind.php @@ -360,7 +360,7 @@ private function buildPlainAuth(Auth_SASL_Common $auth) { private function sendChallengeAndBuildDigestMd5Auth(Auth_SASL_Common $auth) { $challenge = $this->sendChallenge(); - $authString = $auth->getResponse(self::getNodeFromJid($this->jid), $this->password, $challenge, $this->jabberHost, self::SERVICE_NAME, $this->jid); + $authString = $auth->getResponse(self::getNodeFromJid($this->jid), $this->password, $challenge, $this->jabberHost, self::SERVICE_NAME); $this->debug($authString, 'DIGEST-MD5 Auth String'); $authString = base64_encode($authString);