Article View: news.software.readers
Article #213616Re: [slrn] Header Too Long (again)
From: Peter J. Holzer
Date: Wed, 26 Dec 2007 12:22
Date: Wed, 26 Dec 2007 12:22
106 lines
6507 bytes
6507 bytes
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. You also claim that "it is the consensus of newsreader authors that one should comply with this SHOULD". 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. 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. > 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" - 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. >> 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. 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). hp
Technical Details
Message-ID:
<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!newsfeed.freenet.de!news.albasani.net!news.wsr.ac.at!zeno.hjp.at!newsReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <slrnfn4hre.n9a.hjp-usenet2@hrunkner.hjp.at> Subject: Re: [slrn] Header Too Long (again) Date: Wed, 26 Dec 2007 13:22:06 +0100 From: "Peter J. Holzer" <hjp-usenet2@hjp.at> 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> 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!newsfeed.freenet.de!news.albasani.net!news.wsr.ac.at!zeno.hjp.at!news Newsgroups: news.software.readers User-Agent: slrn/pre0.9.9-69 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: zeno.hjp.at X-Trace: 26 Dec 2007 12:28:01 GMT, zeno.hjp.at Lines: 106