Article View: news.software.readers
Article #213811Re: [slrn] Header Too Long (again)
From: Peter J Ross
Date: Fri, 28 Dec 2007 16:42
Date: Fri, 28 Dec 2007 16:42
140 lines
8593 bytes
8593 bytes
In news.software.readers on Wed, 26 Dec 2007 13:22:06 +0100, Peter J. Holzer <hjp-usenet2@hjp.at> wrote: > On 2007-12-22 15:49, Frank Slootweg <this@ddress.is.invalid> wrote: >> Peter J. Holzer <hjp-usenet2@hjp.at> wrote: >>> On 2007-12-19 21:15, Frank Slootweg <this@ddress.is.invalid> wrote: >>> > [Quoted out of sequence.] >>> > Peter J. Holzer <hjp-usenet2@hjp.at> wrote: >>> >> On 2007-12-19 19:33, Frank Slootweg <this@ddress.is.invalid> wrote: >>> > >>> >> It is - as you say - a SHOULD limit. If there is a piece of information >>> >> which is longer than 78 characters and which cannot be split onto >>> >> multiple lines, like a message-id, an e-mail address, an URL, etc., >>> >> correctly transferring that information takes precedence over pretty >>> >> formatting (and pretty formatting is all that the 78 character limit >>> >> (which pertains to all lines in a message, not only header lines) is >>> >> about). >>> > >>> > It seems that the concensus of the people which *matter* - i.e. the >>> > newsreader authors - is that one should comply with this SHOULD. >>> >>> I apologize for not keeping track of who in this august forum is a >>> newsreader author. However, a quick survey of the last 850 messages with >>> references headers shows that 581 have references headers with lines >>> longer than 78 characters, and only 126 have folded references headers. >>> Of those 126, 102 messages are by slrn users, which leaves only a >>> handful of other newsreaders which fold references headers at all. So I >>> don't think that there is consensus that the references header should be >>> folded at all, much less to keep a line length limit of 78 characters. >> >> Sorry, I think we have a misunderstanding here. We're talking about >> MIDs (message-ids), not about References: headers. See your own (quoted) >> "Message-Ids" in the part you snipped. > > The 78 character limit refers to *all lines of a message* (see RFC 2822, > section 2.1.1). It doesn't refer to message-ids. Yes, but it doesn't suggest that message-ids should be treated differently either. > You also claim that "it is the consensus of newsreader authors that one > should comply with this SHOULD". This can be deduced from the fact that newsreaders (and news servers) generate reaonably compact Message-ID components - with the exception of Google Groups. > Therefore, by pointing out that the majority of messages do have a > specific header line which is longer than 78 characters, and which is > not folded at all, even though it would be possible, I can show that no > such consensus among newsreader authors exists. You may well be right, but "the majority of messages" says nothing about "the consensus of newsreader authors", since the majority of Usenet messages are sent with Google Groups or Outlook Express; there are many other newsreaders, and neither GG not OE is widely regarded by newsreader authors as a good example to emulate. > As for the meaning of SHOULD NOT, please refer to RFC 2119: > > 4. SHOULD NOT This phrase, or the phrase "NOT RECOMMENDED" mean that > there may exist valid reasons in particular circumstances when the > particular behavior is acceptable or even useful, but the full > implications should be understood and the case carefully weighed > before implementing any behavior described with this label. > > RFC 2822 makes it clear that the 78 character limit exists to ensure a > consistent display of the message on the reader's screen. But there are > often pieces of information in an article which are longer than 78 > characters (e.g., URLs, lines of a table or ASCII art, filenames, lines > of code, ...) and which must not be wrapped. Therefore a newsreader > author considering the 78 character limit will discover that there > "exist valid reasons in particular circumstances when" lines longer than > 78 characters are "acceptable or even useful" and after pondering "the > full implications" and "carefully weighing the case" will almost > certainly decide that he needs to allow for longer lines. Absolutely. This is what slrn currently does: it detects long lines and warns the poster, but allows the warning to be ignored. >> Nobody is arguing that the *total* References: should fit in 78 >> characters, > > I didn't assume that. I was talking about lines, not fields. RFC 2822 is > very clear that there is *no* limit on the length of fields. The limit of > 78 characters is on lines. And it is a "soft" limit intended for display > purposes only. The hard limit for transmission is 998 characters. > >> only that "Message-ID: "+MID should fit in 78 characters >> (which GG violates). > > Yes. GG violates this clause. They may or may not have done this after > pondering "the full implications and carefully weighing the case" - Heh. Or to be more precise: LOL. > it > doesn't matter. Any RFC-conforming newsserver and newsclient MUST be > able to process lines with up to 998 characters and message-ids with up > to 250 characters. The obligation to be conservative in what one sends isn't negated by the obligation to be liberal in what one accepts. Incidentally, I would suggest applying the 78-character limit to a potential "In-Reply-To:" header, since they're still occasionally seen. "In-Reply-To" is a character longer than "Message-Id", "References" and "Supersedes". >>> And JED obviously is of the opinion that the ability to send message >>> which won't be randomly garbled is more important than following this >>> recommendation, too: He has changed slrn to exceed this limit under >>> certain circumstances (although it still warns about doing so). >> >> Yes, the concensus I was referring to was for newsreaders not to >> *generate* such MIDs, not for not *transmitting*/'forwarding' (i.e. in >> References:) them. > > Firstly, there is *no* clause in any RFC which says that message-ids > should be shorter than 78 (or 66) characters. You are deducing that from > a limit on line length which is explicitely concerned with display > purposes not with the parsing of machine readable information. It seems a fair deduction to me. > Secondly, there is not much difference. If the limit refers to the > Message-Id header it also refers to the References header - if > generating such a Message-Id is an RFC violation, so is using the > message-id in a References header (although there is a very good reason > for the violation in the latter case whereas I can't see a reason in the > former case). I certainly think that slrn should not warn about the long lines in the References header. Removing the first message-id from the References header is a bad idea, especially when it's the *only* message-id. Users shouldn't be encouraged to "fix" such a "problem". -- PJR :-)
Technical Details
Message-ID:
<slrnfna9rh.5cg.pjr@pjr.gotdns.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!news.motzarella.org!motzarella.org!not-for-mailReferences:
<slrnfh3784.t5n.no.spam@thurston.blinkynet.net> <9nc9u4-e8d.ln1@wiegner.user.individual.de> <slrnfmi6qh.3q9.t-use@ID-685.user.individual.de> <476971f1$0$579$dbd41001@news.wanadoo.nl> <slrnfmivko.pid.hjp-usenet2@hrunkner.hjp.at> <47698a03$0$34692$dbd43001@news.wanadoo.nl> <slrnfmoj0n.oek.hjp-usenet2@hrunkner.hjp.at> <476d3210$0$39392$dbd41001@news.wanadoo.nl> <slrnfn4hre.n9a.hjp-usenet2@hrunkner.hjp.at>Show Full Headers
Complete Article Headers
Message-ID: <slrnfna9rh.5cg.pjr@pjr.gotdns.org> Subject: Re: [slrn] Header Too Long (again) Date: Fri, 28 Dec 2007 16:42:25 +0000 From: Peter J Ross <pjr@example.invalid> References: <slrnfh3784.t5n.no.spam@thurston.blinkynet.net> <9nc9u4-e8d.ln1@wiegner.user.individual.de> <slrnfmi6qh.3q9.t-use@ID-685.user.individual.de> <476971f1$0$579$dbd41001@news.wanadoo.nl> <slrnfmivko.pid.hjp-usenet2@hrunkner.hjp.at> <47698a03$0$34692$dbd43001@news.wanadoo.nl> <slrnfmoj0n.oek.hjp-usenet2@hrunkner.hjp.at> <476d3210$0$39392$dbd41001@news.wanadoo.nl> <slrnfn4hre.n9a.hjp-usenet2@hrunkner.hjp.at> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 140 Reply-To: Peter J Ross <pjr.spam@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX184Zpt87ZT7wTRcd5EeKqBs7cW/hXQRp2G81DI0F00voGGY5GgE1XqJUoYrHq9KhksHcTaZY5ugLxjc/Gb4N8ihqtJ6wxtunuz8yi85/8FMvkK7Pr8YTzfE95IHC0KetNQ= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Fri, 28 Dec 2007 16:50:03 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19oMFB1vL9rekHl0K0/QIeY Cancel-Lock: sha1:loX9u7ujASgUZlLeS2skpDU3d7s= User-Agent: slrn/pre0.9.9-75 (Linux)