We're updating the issue view to help you get more done. 

Openfire violates RFC 6120 § 10.3.

Description

According to http://xmpp.org/rfcs/rfc6120.html#rules-noto-IQ

the following two queries should return the same results:

but the former returns:

while the latter returns

The same is true if using disco#items:
with no 'to' attributes, the server's items (e.g. MUC service) are returned instead of the connected resources of the sending entity (as per XEP-0030).

Environment

None

Acceptance Test - Entry

None

Activity

Show:
csh
December 1, 2015, 2:50 PM
Edited

This issue is also true for jabber:iq:last queries without 'to' attribute: The server returns the server uptime, but should instead handle the query on behalf of the user and therefore should return 0:

If the user has at least one connected or available resource when the server receives the request, the response MUST (subject to local security policies) contain an empty <query/> element whose 'seconds' attribute is set to a value of '0'.

Assignee

Guus der Kinderen

Reporter

csh

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure