1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

- correct jabber token handling

- undisclosed-recipients:; instead of undisclosed-recipient:;
- PM details button should not be there


git-svn-id: file:///svn/phpbb/trunk@8090 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-09-14 14:06:23 +00:00
parent 052025bb1f
commit 09f6cf11dd
5 changed files with 12 additions and 5 deletions

View File

@@ -499,6 +499,13 @@ class jabber
}
else
{
// Make sure we only use 'auth' for qop (relevant for $this->encrypt_password())
// If the <response> is choking up on the changed parameter we may need to adjust encrypt_password() directly
if (isset($decoded['qop']) && $decoded['qop'] != 'auth' && strpos($decoded['qop'], 'auth') !== false)
{
$decoded['qop'] = 'auth';
}
$response = array(
'username' => $this->username,
'response' => $this->encrypt_password(array_merge($decoded, array('nc' => '00000001'))),