aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppHttpFileSource.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-06-16 11:05:34 +0200
committerLinus Jahn <lnj@kaidan.im>2023-06-17 12:33:08 +0200
commit2bf0d384aca5129ebb60403bc993b2408db52e32 (patch)
tree490f9f6a954372e47858a53259928ab7c95a8d3e /src/base/QXmppHttpFileSource.h
parent6fe82239fc55b16953f965ea4e20e5fbfe806dd5 (diff)
downloadqxmpp-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/QXmppHttpFileSource.h')
0 files changed, 0 insertions, 0 deletions