🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #40003

Re: [ANN] Asar Updates Hogwasher to 1.0b6

#40003
From: Terje Bless
Date: Tue, 07 Apr 1998 00:00
111 lines
6014 bytes
[ I've added news.software.readers back in since Greg seems to be  ]
[ interested in this thread? They are both topical enough, so that ]
[ should be fine.                                                  ]

In article <1d72241.3hx2x4wc0nvyN@n31-171.berlin.snafu.de>,
    Stefan Haller <stk@berlin.snafu.de> wrote:

>In article <link-0604980154580001@news.uit.no>,
>    Terje Bless <link@tss.no> wrote:
>
>>Do you mean that it's not a bug because it's not "illegal" to add
>>unnecessary quotes?
>
>Exactly.  There are often several equivalent ways to say the same
>thing. If you have two ways of specifying something, and both mean the
>same, you are free to choose either.  No bugs involved here.

Well, as I've said before, my phrasing was pretty poor. I meant to say
that the quotes were redundant and should probably be left out.


>>>    "\"Mike Marchetti\"" <mmarchetti@asar.com>
>>Please cite me a standards reference for this!
>
>RFC 822.
>
>>If the spec everyone is thinking about is RFC 822, I think it's
>>appropriate to remind you that RFC 1036bis explicitly specifies a
>>restricted subset of the mail syntax for the From field.
>
>RFC 1036 still explicitely refers to RFC 822.

And as 1036-Spencer explained; the intent of RFC 1036 wasn't to say
that RFC 822 was the correct specification, but rather that where there
were *unintentional* differencs and incompatibilities between the two,
RFC 822 would be the authorative one.


>The fact that it has a couple of restrictions does not mean that the
>rest of RFC 822 doesn't count either.  The restrictions are: there can
>be only one single address in the From field; there can't be comments
>at arbitrary places; and < > ( ) must not occur in full names.  Other
>than that, the address syntax should follow RFC 822.

This may be what RFC 1036 says, but until USEFOR produces something
useable (see below), 1036-Spencer should be taken into consideration.
I'm not for following it to the letter, optional features and all, but
in terms of header field syntax it's closer to reality -- and the
intent of RFC 1036-Horton -- then RFC 1036-Horton was if followed to
the letter.


>(Besides, we all know that RFC 1036 is very fuzzy about many things,
> including this.  It doesn't have a complete formal syntax
> specification, and we often have to guess what it really means.

And this is exactly why 1036-Spencer should be taken into account!
1036-Spencer _does_ specify the ABNF for, among others, the From field.
If you read it closely (and strip out the legacy format and higher
level information), you'll find that the Full Name can be:

unquoted-word / quoted-word / encoded-word

That is, it can be one of three types of strings. The last one,
"encoded-word", is just RFC 2047 encoded information so I'll leave that
out. This leaves us with two possible forms. They are:

    unquoted-word = <ASCII printable character except !()<>,;:\".[]>
and
    quoted-word   = <ASCII printable character except "()<>\>

So if you leave out the quotes, you can use any ASCII character except
the exclamation point, the parenthses, the angle brackets, a comma, a
semi-colon, a colon, the backslash, a double quote, a period and the
square brackets. If you enclose it in double quotes, you can use any
ASCII printable character except the double quote, the parenthesis, the
angle brackets and the backslash.

If you "distill" that you end up with: if the Full Name contains any
non-ASCII characters you need to encoding it according to RFC 2047; if
it contains exclamation poin, comma, semicolon, colon, period or square
brackets you need to enclose it in double quotes; and if it contains a
double quote, left or right paren, left or right angle bracket, or a
backslash you need to alert the user and refuse to post.


>It's really high time for the new standard to come along.

Amen!

However, from what I can see in the latest draft from USEFOR (which
isn't even an Internet Draft yet; all caveats apply!), they punt and
say From is specified as in DRUMS. DRUMS on their end specifies
(essensially) that the Full Name is a "phrase" which implies that it's
subject to the complete mail header field format syntax and semantics
(which is hairy and complex beyond belief IMO!). Implementing a parser
for this format is going to be about as pleasant as a kick in the groin
(any female newsreader developers out there? ;D).

Having a Grand Unified Internet Message Format is neat and peachy and
all, but having to deal with the full mail specification on USENET
doesn't seem like a sane cost/benefit compromise to me.

-- 
John Moreno is attempting to convince the author of YA-NewsWatcher that
there's interest in the new version. To register your interest send mail
to John at <mailto:phenix@interpath.com> with the Subject "New YA".
Comments on what you like/dislike in YA-NW 2.4.0 will be appreciated.

Technical Details
Message-ID: <link-0704980319530001@news.uit.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mail
References: <01HW.B13DBB000005CB610361BB90@news.servtech.com> <link-0504982031110001@news.uit.no> <1d718cf.1i0q8mbk3hp5bN@pppx102.berlin.snafu.de> <link-0604980154580001@news.uit.no> <1d72241.3hx2x4wc0nvyN@n31-171.berlin.snafu.de>

Show Full Headers
Complete Article Headers
Message-ID: <link-0704980319530001@news.uit.no>
Subject: Re: [ANN] Asar Updates Hogwasher to 1.0b6
Date: Tue, 07 Apr 1998 00:00:00 +0000
From: Terje Bless <link@tss.no>
References: <01HW.B13DBB000005CB610361BB90@news.servtech.com> <link-0504982031110001@news.uit.no> <1d718cf.1i0q8mbk3hp5bN@pppx102.berlin.snafu.de> <link-0604980154580001@news.uit.no> <1d72241.3hx2x4wc0nvyN@n31-171.berlin.snafu.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mail
X-Deja-AN: 341548612
Content-Transfer-Encoding: 8bit
X-Face: ozNb;yy0vRA)Y5]3Sv?]z;NK(Oq#:W8<"{=UsbG'(5<.@LRh<)H];[z4CTcda F6Bf97@gO=GjS4uo`'Rg2)i"g{JY}LIq\CDYan1u>#5mIfC?>tBX'&A^SspU\ewW36Xo a1r."h14;C/*WM;-e:=
Mime-Version: 1.0
Mail-Copies-To: always
Content-Type: text/plain; charset=ISO-8859-1
Organization: TSS ltd.
Newsgroups: comp.sys.mac.comm,news.software.readers