When TIdSASLDigest.StartAuthentication() parses the following challenge:
realm="microsof-db482b",nonce="fTYdQPacyyiX1BlHyMW8N8rubUqMhEhgj5zGNkYo",qop="au
th",charset=utf-8,algorithm=md5-sess
Every odd-indexed value is not unquoted correctly when split into a local
TStringList, resulting in the following data that is then used to calculate an
incorrect response:
realm="microsof-db482b"
nonce=fTYdQPacyyiX1BlHyMW8N8rubUqMhEhgj5zGNkYo
qop="auth"
charset=utf-8
algorithm=md5-sess
It should be splitting the values into the TStringList like this instead:
realm=microsof-db482b
nonce=fTYdQPacyyiX1BlHyMW8N8rubUqMhEhgj5zGNkYo
qop=auth
charset=utf-8
algorithm=md5-sess
Original issue reported on code.google.com by gambit47 on 6 Jan 2013 at 9:58
Original issue reported on code.google.com by
gambit47
on 6 Jan 2013 at 9:58