FBXMPP OAuth

Colin Barrett colin at springsandstruts.com
Sun Mar 6 21:31:42 UTC 2011


On Mar 6, 2011, at 11:11 AM, Marc Kalmes wrote:

> Hello,
> 
> On Mar 1, 2011, at 7:24 AM, Peter Hosey wrote:
> 
>>> +- (NSCharacterSet *)allowedCharacters{
>>> +	return [NSCharacterSet characterSetWithCharactersInString:@"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ "];
>>> +}
>>> +
>>> +- (NSCharacterSet *)allowedCharactersForUIDs{
>>> +	return [NSCharacterSet characterSetWithCharactersInString:@"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_"];
>>> }
>> 
>> Do we really only want the ASCII letters and numbers, or would it be better to use the alphanumeric character set and add the ‘_’ and space to it?
> 
> Does FBXMPP support user-id characters as described in XEP-0029 [1]? If so, please review the patch I've submitted to #13099.

All FBXMPP JIDs are server assigned [1], so it's not really an issue AFAIK.

-Colin

[1]: "The user's Jabber ID will be assigned during the resource binding step of XMPP." http://developers.facebook.com/docs/chat/



More information about the devel mailing list