Wrong URL generated for editing groups with space in the names
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.
org.jivesoftware.openfire.group.GroupNotFoundException: Group with name test+bac not found.
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.
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.
Can't confirm this as working on 3.9.1. It's broken on our 64 bit Linux environment.
I suspect one of the XSS fixes caused that (OF-686, ). 3.9.1 works fine.