mailto URIs

I'm working on responding to Bruce Lilly's comments
on the 'mailto' URI specification (from April!)

I'm puzzled about whether the full 'address' or 'mailbox'
specification is actually implemented, or whether the
actual URI use is limited to RFC2822's  'addr-spec'.

>From RFC 2822:

mailbox         =       name-addr / addr-spec
name-addr       =       [display-name] angle-addr
angle-addr      =       [CFWS] "<" addr-spec ">" [CFWS] / obs-angle-addr
group           =       display-name ":" [mailbox-list / CFWS] ";"
                        [CFWS]
display-name    =       phrase
mailbox-list    =       (mailbox *("," mailbox)) / obs-mbox-list
address-list    =       (address *("," address)) / obs-addr-list
addr-spec       =       local-part "@" domain
local-part      =       dot-atom / quoted-string / obs-local-part
domain          =       dot-atom / domain-literal / obs-domain
domain-literal  =       [CFWS] "[" *([FWS] dcontent) [FWS] "]" [CFWS]
dcontent        =       dtext / quoted-pair
dtext           =       NO-WS-CTL /     ; Non white space controls
                        %d33-90 /       ; The rest of the US-ASCII
                        %d94-126        ;  characters not including "[",
                                        ;  "]", or "\"
atext           =       ALPHA / DIGIT / ; Any character except controls,
                        "!" / "#" /     ;  SP, and specials.
                        "$" / "%" /     ;  Used for atoms
                        "&" / "'" /
                        "*" / "+" /
                        "-" / "/" /
                        "=" / "?" /
                        "^" / "_" /
                        "`" / "{" /
                        "|" / "}" /
                        "~"
atom            =       [CFWS] 1*atext [CFWS]
dot-atom        =       [CFWS] dot-atom-text [CFWS]
dot-atom-text   =       1*atext *("." 1*atext)

I'm thinking that the right thing to do is to include the
full ABNF for whatever it is that "mailto" actually accepts,
and then describe the mapping to/from RFC 2822 addresses,
rather than leave a vague reference to 2822.

Do mailto URIs actually work with:
   *  Angle-bracket delimiters?
   *  Comments?
   *  folding white space?
   *  non-whitespace controls?
   *  Quoted strings... etc.


Larry

Received on Friday, 17 June 2005 23:21:41 UTC