diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-06-16 11:05:34 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2023-06-17 12:33:08 +0200 |
| commit | 2bf0d384aca5129ebb60403bc993b2408db52e32 (patch) | |
| tree | 490f9f6a954372e47858a53259928ab7c95a8d3e /src/base/QXmppDataFormBase.cpp | |
| parent | 6fe82239fc55b16953f965ea4e20e5fbfe806dd5 (diff) | |
| download | qxmpp-2bf0d384aca5129ebb60403bc993b2408db52e32.tar.gz | |
QXmppStreamFeatures.cpp: Fix wrong mechanism parsing
Inside a urn:ietf:params:xml:ns:xmpp-sasl "mechanisms" element, the
following tree is expected:
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-1</mechanism>
<mechanism>PLAIN</mechanism>
...
</mechanisms>
However, QXmppStreamFeatures::parse was looking for "mechanism" from the
parent element, and not from the node belonging to "mechanisms".
This caused authentication to never being performed, rendering QXmpp
near to useless.
Diffstat (limited to 'src/base/QXmppDataFormBase.cpp')
0 files changed, 0 insertions, 0 deletions
