Private messages in MUC don't get sent to the right resource if it contains certain characters
maranda opened this issue · 0 comments
Describe the bug
Bifrost seems to be mangling and/or prepping incorrectly certain characters when sending stanzas.
To Reproduce
Steps to reproduce the behavior:
- Join xmpp@chat.yax.im
- Attempt to privately message jonas’
- Message gets sent to "jonas 19" which doesn't exist
Expected behavior
The message should be sent to jonas’
Additional context
Some logs about the issue
Bifrost:
Jul-29 08:19:05.390 INFO MatrixEventHandler Handling IM message
Jul-29 08:19:05.391 INFO MatrixEventHandler Sending IM to xmpp@chat.yax.im/jonas 19
Jul-29 08:19:05.392 INFO XmppJsGateway Looking up possible gateway: @maranda:aria-net.org xmpp@chat.yax.im/jonas 19 xmpp@chat.yax.im
XMPP Server:
Jul 29 08:19:05 jcp55df4cc03bb0 debug Received[component]:
Jul 29 08:19:05 s2sout55df4b10b5c0 debug sending:
Jul 29 08:19:05 s2sout55df4b10b5c0 debug Received[s2sout]: