Fix exception on muc-room-affiliations

Description

If an affiliation for an entry without the '@' character is set then the "User Permissions" page will throw an StringIndexOutOfBoundsException. This prevents admins to setup an affiliation for a component (e.g. a chat bot with JID "bot.domain.lt") or delete invalid affiliations.

This was reported on http://www.igniterealtime.org/community/thread/36610

Environment

None

Attachments

1

Activity

Show:

Guenther Niess August 21, 2009 at 3:54 AM

Comitted in revision 11191.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 20, 2009 at 7:18 PM
Updated February 1, 2010 at 3:26 AM
Resolved August 21, 2009 at 3:54 AM