Error occurs when inviting other users into group chat in Spark 2.6.0 Beta 2(SVN:11364)

Hi, all

I have problem when nickname include full-width space. Can any body help me?

User A : spark 2.6.0 Beta 2, nickname is test1.

User B : spark 2.6.0 Beta 2, nickname is test 2.

User B’s nickname include full-width space, when User A invite B user to conference, B’s spark hang’s and print follow message at A’s conference dialog window.B’s spark available after print “test 29 joined the room”, but, don’t recevie and send message .

test 2 has joined the room.
test 2 is now known as test 22.
test 22 has joined the room.
test 22 is now known as test 23.
test 23 has joined the room.
test 23 is now known as test 24.
test 24 has joined the room.
test 24 is now known as test 25.
test 25 has joined the room.
test 25 is now known as test 26.
test 26 has joined the room.
test 26 is now known as test 27.
test 27 has joined the room.
test 27 is now known as test 28.
test 28 has joined the room.
test 28 is now known as test 29.
test 29 has joined the room.

why does user B’s nickname change to half-width in user A’s group chat dialog window.

This is a bug while the user’s nickname contains full or half-width round brackets like “()” or “(”, “)”.

fix it with attachments two files.
ConferenceUtils.java.zip (5464 Bytes)
GroupChatParticipantList.java.zip (7149 Bytes)

Xie is talking about spaces and you about brackets. Are these different bugs or related? Does your patch fix only issue with brackets?

I think they are related problems. The reason maybe is occured by

Pattern nicknameMatch = Pattern.compile(myNickName, Pattern.CASE_INSENSITIVE);

at line 310 in org.jivesoftware.spark.ui.rooms.GroupChatRoom.java.

Can you attach patches and not the patched files?