Skip to content

Commit

Permalink
fixed wrong digest uri
Browse files Browse the repository at this point in the history
  • Loading branch information
mplogas committed Dec 9, 2015
1 parent 12a1363 commit 201cb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Sasl/Mechanisms/SaslDigestMd5.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private byte[] ComputeDigestResponse(byte[] challenge) {
// Parse the challenge-string and construct the "response-value" from it.
string decoded = Encoding.ASCII.GetString(challenge);
NameValueCollection fields = ParseDigestChallenge(decoded);
string digestUri = "imap/" + fields["realm"];
string digestUri = "xmpp/" + fields["realm"];
string responseValue = ComputeDigestResponseValue(fields, Cnonce, digestUri,
Username, Password);

Expand Down

1 comment on commit 201cb99

@pgstath
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a duplicate of smiley22#1. Unfortunately it seems that S22.Xmpp is currently frozen. S22.Xmpp is forked as Sharp.Xmpp. Sharp.Xmpp includes this fix and some other improvements.

Please sign in to comment.