Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 247039

Summary: [xmpp] add JID escaping support in XMPPID
Product: [RT] ECF Reporter: Scott Lewis <slewis>
Component: ecf.providersAssignee: ecf.core-inbox <ecf.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk
Version: 2.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Scott Lewis CLA 2008-09-11 12:14:17 EDT
There is a JEP draft standard JEP-0106

http://www.xmpp.org/extensions/xep-0106.html

ECF's XMPPID class should support this draft standard.
Comment 1 Chris Aniszczyk CLA 2008-09-11 12:16:01 EDT
This would allow our users to log-in easier if people's ids were bound to an email address.
Comment 2 Chris Aniszczyk CLA 2008-09-11 14:42:44 EDT
This would help usability a bit too... currently in the UI we get something like this:


(01:40:33 PM) zx\40code9.com: ping
(01:40:47 PM) karl.matthias\40eclipse.org: hey Chris
(01:40:53 PM) zx\40code9.com: ok, it is somewhat working :)
Comment 3 Scott Lewis CLA 2008-09-11 14:48:31 EDT
(In reply to comment #2)
> This would help usability a bit too... currently in the UI we get something
> like this:
> 
> 
> (01:40:33 PM) zx\40code9.com: ping
> (01:40:47 PM) karl.matthias\40eclipse.org: hey Chris
> (01:40:53 PM) zx\40code9.com: ok, it is somewhat working :)
> 

Hi...yep, the translation has to go both ways...and it will...shortly (working on it).

Comment 4 Scott Lewis CLA 2008-09-11 17:02:42 EDT
Fix released to HEAD and Release_2_0 branch.

Now, XMPPIDs escape appropriate characters (as specified in JEP-0106:

http://www.xmpp.org/extensions/xep-0106.html

So in the XMPP/XMPPS connection wizards users may specify JID node names (i.e. username) with characters like @, ', ", &, <, >, etc and they will be escaped for connection to xmpp server.