7 Sep 2011 13:26
Re: I-D Action: draft-duerst-eai-mailto-01.txt
Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz <at> gmail.com>
2011-09-07 11:26:13 GMT
2011-09-07 11:26:13 GMT
Hi,
draft-duerst-eai-mailto intends to obsolete RFC 6068, I'll
use 6068bis as a shorthand. In section 2 you write that
<addr-spec-enc> excludes the RFC 5322 <comment>.
I think you actually exclude <comment> *and* <FWS>, i.e.,
(1) you get rid of any <CFWS> or <FWS> in <domain-literal>
by directly using "[" *dtext-no-obs "]"
(2) you get rid of any <CFWS> or <FWS> in any <dot-atom> on
both sides by directly using an encoded <dot-atom-text>
with the name <dot-atom-text-enc>
(3) somehow <quoted-string-enc> avoids the <CFWS> before
and after <quoted-string>, and it avoids <FWS> within
<quoted-string>
Points (1) and (2) already solve all CFWS issues in syntax.
For (3) this is also possible: As for (1) define a new
<qcontent-no-obs-enc> excluding <obs-qp> and <obs-qtext>.
After that 6068bis can improve what might be a subtle bug
in RFC 6068 1.3. While there is no CFWS or FWS in mailto:
URIs, a space in a <quoted-pair> is okay, but of course it
has to be encoded: mailto:%22joe%5C%20blogger%22 <at> example
The last example in section 6.2 already covered that, but
a less convoluted <quoted-pair> example might be clearer,
"joe\ blogger" <at> example (ok.), "joe blogger" <at> example (bad).
If the latter is really "bad" in RFC 5322, section 3.2.4
(Continue reading)
RSS Feed