mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 14:02:06 +01:00
Fix for SMACK-224.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8503 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
560e891cec
commit
0971f5fffd
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ public class SASLPlainMechanism extends SASLMechanism {
|
|||
// Build the text containing the "authorization identity" + NUL char +
|
||||
// "authentication identity" + NUL char + "clear-text password"
|
||||
StringBuilder text = new StringBuilder();
|
||||
text.append(username).append("@").append(host);
|
||||
// Commented out line below due to SMACK-224. This part of PLAIN auth seems to be
|
||||
// optional, and just removing it should increase compatability.
|
||||
// text.append(username).append("@").append(host);
|
||||
text.append('\0');
|
||||
text.append(username);
|
||||
text.append('\0');
|
||||
|
|
Loading…
Reference in a new issue