On 04/06/2010 10:47 AM, Eric Helgeson wrote:
Is there a limit on chars it can contain?

Why not:
[email protected] <mailto:%[email protected]> or
#[email protected] <mailto:#[email protected]>

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 #[email protected] in particular... may need to make sure we consistently manage escaping going to/from acct: URLs.

> return parse_url('acct:[email protected]');
array (
  'scheme' => 'acct',
  'path' => '[email protected]', # good
)

> return parse_url('acct:#[email protected]');
array (
  'scheme' => 'acct',
  'fragment' => '[email protected]', # bad!
)

-- brion
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to