tst2005googlecode2 / lxmppd

Automatically exported from code.google.com/p/lxmppd
0 stars 0 forks source link

[XEP-0045] Invisible Nicknames (e.g. consisting of one ore more spaces) are forbidden #337

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please provide a snippet of the part of the specification which we violate
if possible:

16.1 Addresses

In order to provide consistency regarding the addresses captured in room JIDs 
and occupant JIDs, Room IDs MUST match the Nodeprep profile of Stringprep and 
Room Nicknames MUST match the Resourceprep profile of Stringprep (both of these 
are defined in RFC 6122). As explicitly stated in RFC 6122, both the Room ID 
(node) and Room Nickname (resource) portions of an Occupant JID MUST be of 
non-zero length. In addition, a MUC service MUST NOT allow empty or invisible 
Room Nicknames (i.e., Room Nicknames that consist only of one or more space 
characters).

Please provide a link to the specification:
xmpp.org/extensions/xep-0045.html

XML Traffic Snippet showing the violating functionality:

<!-- In -->
<presence type='unavailable' to='mf@n0g.at/Gajim' 
from='gladio@conference.n0g.at/ '>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='mf@n0g.at/Gajim' affiliation='owner' nick='  ' role='moderator'/>
<status code='303'/>
<status code='110'/>
</x>
</presence>
<presence id='gajim_muc_70_ce6899' xml:lang='en' to='mf@n0g.at/Gajim' 
from='gladio@conference.n0g.at/  '>
<x xmlns='vcard-temp:x:update'>
<photo/>
</x>
<c ver='47EPEmSc9oqPGwcrbNtpKcYyJcE=' hash='sha-1' node='http://gajim.org' 
xmlns='http://jabber.org/protocol/caps'/>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='mf@n0g.at/Gajim' affiliation='owner' role='moderator'/>
<status code='110'/>
</x>
</presence>

Original issue reported on code.google.com by mf1...@gmail.com on 24 Apr 2013 at 4:38

GoogleCodeExporter commented 9 years ago
I'll be sad to see this one go, I use it sometimes :)

But yes, you're right, it needs fixing. Thanks for the poke.

Original comment by MWild1 on 24 Apr 2013 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by MWild1 on 5 Apr 2014 at 1:46