xmpp.js
xmpp.js copied to clipboard
SASL negotiation fails if 'mechanisms' contains boundary white spaces
https://github.com/xmppjs/xmpp.js/blob/63aecc49157980f6d68cc58605cf8a3fef664a2a/packages/sasl/index.js#L13
An error el.text is not a function is thrown if mechanisms stream feature contains boundary whitespaces, i.e. isn't minified.
Do you have an example of such xml ?
Do you have an example of such
xml?
<stream:features>
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<mechanism>PLAIN</mechanism>
</mechanisms>
</stream:features>