On 04/06/2010 10:47 AM, Eric Helgeson wrote:
Is there a limit on chars it can contain?
Why not:
!gr...@site.com <mailto:%21gr...@site.com> or
#...@site.com <mailto:#...@site.com>
Seems more natural but may be a tech limitation I'm not aware of.
As far as I can tell from
http://code.google.com/p/webfinger/wiki/WebFingerProtocol the address
should simply be validated/normalized as an email address, in which case
# and ! should indeed be valid chars for use in the local part of the
address.
Might be problems with #...@site.com in particular... may need to make
sure we consistently manage escaping going to/from acct: URLs.
> return parse_url('acct:!...@site.com');
array (
'scheme' => 'acct',
'path' => '!...@site.com', # good
)
> return parse_url('acct:#...@site.com');
array (
'scheme' => 'acct',
'fragment' => 't...@site.com', # bad!
)
-- brion
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev