powered by Jive Software

Bug: Unable to set Group chat user permissions for jid with space

In the admin interface, Group Chat / Room Administration / User permissions

It is not possible to add a jid with space even if the space is escaped with \20 as specified in

http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/javadoc/ org/xmpp/packet/JID.html

  • Adding a JID of “Brinley Ang” throws an IllegalArgumentException

  • Adding a JID of “Brinley\20Ang” works but the “” before 20 is escaped to “\5c” instead which wont correcly match jid of “Brinley Ang”

Room Permissions work fine if the jid is correctly set to brinley\20ang@openfire

Regards,

Brinley

Hi,

Attached is a patch that allows the adding of jids with spaces and other valid but non standard characters as specified in JEP-0106

Thanks.

Brinley
muc.patch.zip (384 Bytes)

1 Like