Article View: news.software.nntp
Article #86469Re: Non-standard 'From' fields
From: Russ Allbery
Date: Sat, 28 Mar 2015 02:40
Date: Sat, 28 Mar 2015 02:40
31 lines
2615 bytes
2615 bytes
richard@cogsci.ed.ac.uk (Richard Tobin) writes:
> Russ Allbery <eagle@eyrie.org> wrote:
>>> with 'mailbox-list' as defined in RFC5322 (the current evolution of
>>> RFC822). So the special syntax with the redefined comment is no longer
>>> allowed for USENET articles. A RFC5536 compliant parser discards the
>>> comment with the "full name".
>> Not allowed is a little strong in the sense that it's a syntactically
>> valid from header in RFC5536. It's just that it loses information,
>> since the comment is just a comment.
> What requires the system to "discard" the comment and "lose" the
> information? Surely you can just re-use the comment, without even
> explicitly assuming that it's a name.
Right, but that loses information. In the old syntax, you know that the
comment after the email address in that syntax is expected to convey a
name. In RFC 5536 syntax, it's just a comment, with no special meaning
and no special purpose. In order to know that you should probably treat
it as equivalent to the name part in front of the address in the newer
syntax, you have to bring outside knowledge that's not expressed in the
RFC 5536 syntax. Or, put another way, strict parsing assuming only the
RFC 5536 syntax loses the information that this specific comment is
special.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87mw2xu9n4.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mailReferences:
<ukdvda99imjm7ba0j7o4u8hem7e8p79nbr@4ax.com> <AABVFTjZlBMAAAoN.A1.flnews@WStation3.stz-e.de> <87y4mikrxa.fsf@hope.eyrie.org> <mf4lp3$o8l$1@macpro.inf.ed.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <87mw2xu9n4.fsf@hope.eyrie.org> Subject: Re: Non-standard 'From' fields Date: Fri, 27 Mar 2015 19:40:47 -0700 From: Russ Allbery <eagle@eyrie.org> References: <ukdvda99imjm7ba0j7o4u8hem7e8p79nbr@4ax.com> <AABVFTjZlBMAAAoN.A1.flnews@WStation3.stz-e.de> <87y4mikrxa.fsf@hope.eyrie.org> <mf4lp3$o8l$1@macpro.inf.ed.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 31 NNTP-Posting-Host: lothlorien.stanford.edu Mime-Version: 1.0 Content-Type: text/plain X-Trace: usenet-its.stanford.edu 1427510447 21933 68.65.164.14 (28 Mar 2015 X-Complaints-To: news@usenet-its.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:SO11M01Gdj1H4nxifOwckCNv34I=