Fixed
Details
Assignee
Guus der KinderenGuus der KinderenReporter
Guus der KinderenGuus der KinderenFix versions
Priority
Major
Details
Details
Assignee
Guus der Kinderen
Guus der KinderenReporter
Guus der Kinderen
Guus der KinderenFix versions
Priority
Created December 1, 2021 at 3:29 PM
Updated December 2, 2021 at 2:16 PM
Resolved December 2, 2021 at 2:16 PM
The implementation of
org.jivesoftware.openfire.XMPPServer#matchesComponent
will returntrue
for aJID of a local component (eg: conference.example.org), but will returnfalse
for a JID of a entity-of-that-domain (eg: myroom@conference.example.org}}. Most, if not all, of its uses assume that the latter would returntrue
.I believe that this is a problem in how its implementation assumes that org.jivesoftware.openfire.component.InternalComponentManager#hasComponent will evaluate only the domain-part of the JID, while in fact it performs an exact match (which fails if a node- or resource-part is present).