Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Accidential deletion of accounts with Psi #1454
16.12 with mysql backend
Ejabberd 16.12 changed some behaviour, that can cause an accidential deletion of an account when using the Psi client. Here are the steps to reproduce this:
The bug here seems to be, that ejabberd 16.12 changed something, that causes Psi to not escape the JID when doing roster actions (in ejabberd 16.09 it uses
Next this causes a bug in Psi when removing the roster item: Psi sends a register request with no JID element and the server automatically replies with a unregister request.
The change of behaviour may or may not be a bug in ejabberd, so feel free to close this bug. After thinking about it a little bit more, it is probably a bug in Psi and not in ejabberd. I will look into it again later today.
XML Log from client with version 16.12
Compare this to a log from 16.09:
Yes, the server now behaves correctly actually.