When trying to edit a group, which has a space in it's name, admin console generates a link https://server:9091/group-edit.jsp?group=test%2Btest instead of https://server:9091/group-edit.jsp?group=test%20test and throws an exception:
Problem accessing /group-edit.jsp. Reason:
Group with name test+bac not found.
Caused by:
org.jivesoftware.openfire.group.GroupNotFoundException: Group with name test+bac not found.
at org.jivesoftware.openfire.group.DefaultGroupProvider.getGroup(DefaultGroupProvider.java:116)
at org.jivesoftware.openfire.group.GroupManager.getGroup(GroupManager.java:330)
at org.jivesoftware.openfire.group.GroupManager.getGroup(GroupManager.java:309)
etc.
I suspect one of the XSS fixes caused that (OF-686, ). 3.9.1 works fine.
Can't confirm this as working on 3.9.1. It's broken on our 64 bit Linux environment.
I was testing on Windows 7 x64 box. I've created a group with the name "test test" on 3.9.2 and tried to edit it. Got the exception. Uninstalled, installed 3.9.1. I can edit it now.
Edit: just tested on the production box (3.9.1, Arch linux x86). Works fine.
Per earlier XSS fix, group name was being encoded twice on the group summary page; updated to use local variable that has already been properly encoded.