8 Jul 2005 13:19
Re: email address in a URI
Frank Ellermann <nobody <at> xyzzy.claranet.de>
2005-07-08 11:19:57 GMT
2005-07-08 11:19:57 GMT
Tim Kindberg wrote:
> The logic behind the above is:
> 0. Avoid obsolete local parts, and local parts involving CFWS
Yes
> 1. But enable as many email addresses allowed by RFC 2822 as
> possible
That chould be all if you really want it, but maybe draw the
line at some cases of quoted-pair within quoted-string, e.g.
a backslash + space pair or worse.
> 2. While ensuring RFC 3896 compatibility
Of course.
> 3. Can't %-encode characters without ambiguity, since RFC
> 2822 allows email addresses containing % HEX HEX constructs
IMHO it says "encode %, encode once", so you get %25 for % no
matter what came after the original %.
> 4. So we have to avoid / "^" / "`" / "{" / "|" / "}"
You could %-encode them.
> 5. And it seems a bad idea to allow "#" / "%" / "?"
(Continue reading)
RSS Feed