Thread View: news.software.readers
33 messages
33 total messages
Started by Blinky the Shark
Sun, 14 Oct 2007 04:36
[slrn] Header Too Long (again)
Author: Blinky the Shark
Date: Sun, 14 Oct 2007 04:36
Date: Sun, 14 Oct 2007 04:36
15 lines
2369 bytes
2369 bytes
Remember the recent issue with slrn throwing an error about a header (X-Face) being "too long to fold"? A hack of the binary, IIRC, fixed that. Now it's back -- this time choking on Refernences headers. :) An example: References: <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net> <470dbba4$0$26351$4c368faf@roadrunner.com> <HrwPi.1564$LD2.1423@newssvr17.news.prodigy.net> <13mny922s7vqc.dlg@sqwertz.com> <vdvug3d9bt8u1p4ocfn9fi6j706p09dbfd@4ax.com> <DYmdnQjx_Yv8GZLanZ2dnUVZ_g2dnZ2d@comcast.com> <lrj0h3lo1m75jn09o24d149qst7f5jstac@4ax.com> <nLSdnXCT4_CwK43anZ2dnUVZ_rignZ2d@comcast.com> <s7o1h3pbc9alkrp9jb8tquilg34inc0hhm@4ax.com> <8o8q8ws2ido7.dlg@sqwertz.com> <ttp2h3pklccief6em962ion1isbp9ksevp@4ax.com> <tgc1r0fg9qa3.dlg@sqwertz.com> <BafQi.8536$lD6.5731@newssvr27.news.prodigy.net> <slrnfh33bj.rjq.no.spam@thurston.blinkynet.net> <HPgQi.4149$wF3.3109@nlpi061.nbdc.sbc.com> -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project - http://improve-usenet.org
Re: [slrn] Header Too Long (again)
Author: Blinky the Shark
Date: Sun, 14 Oct 2007 04:47
Date: Sun, 14 Oct 2007 04:47
25 lines
2706 bytes
2706 bytes
Blinky the Shark wrote: > Remember the recent issue with slrn throwing an error about a header > (X-Face) being "too long to fold"? A hack of the binary, IIRC, fixed > that. Or *some* file. A conditional was added to ignore folding if header was X-Face. I can't find this discussion (only the efforts of PJR and me and others to solve this with slrn *settings*). > Now it's back -- this time choking on Refernences headers. :) > > An example: > > References: <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net> <470dbba4$0$26351$4c368faf@roadrunner.com> <HrwPi.1564$LD2.1423@newssvr17.news.prodigy.net> <13mny922s7vqc.dlg@sqwertz.com> <vdvug3d9bt8u1p4ocfn9fi6j706p09dbfd@4ax.com> <DYmdnQjx_Yv8GZLanZ2dnUVZ_g2dnZ2d@comcast.com> <lrj0h3lo1m75jn09o24d149qst7f5jstac@4ax.com> <nLSdnXCT4_CwK43anZ2dnUVZ_rignZ2d@comcast.com> <s7o1h3pbc9alkrp9jb8tquilg34inc0hhm@4ax.com> <8o8q8ws2ido7.dlg@sqwertz.com> <ttp2h3pklccief6em962ion1isbp9ksevp@4ax.com> <tgc1r0fg9qa3.dlg@sqwertz.com> <BafQi.8536$lD6.5731@newssvr27.news.prodigy.net> <slrnfh33bj.rjq.no.spam@thurston.blinkynet.net> <HPgQi.4149$wF3.3109@nlpi061.nbdc.sbc.com> ADD It seems to have plenty of white space and vim says it's less than 700 characters long. -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project - http://improve-usenet.org
Re: [slrn] Header Too Long (again)
Author: Thomas Wiegner
Date: Sun, 14 Oct 2007 11:55
Date: Sun, 14 Oct 2007 11:55
22 lines
1780 bytes
1780 bytes
On Sun, 14 Oct 2007, Blinky the Shark <no.spam@box.invalid> wrote:
> Remember the recent issue with slrn throwing an error about a header
> (X-Face) being "too long to fold"? A hack of the binary, IIRC, fixed
> that.
>
> Now it's back -- this time choking on Refernences headers. :)
>
> An example:
>
> References:
> <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
12345678901234567890123456789012345678901234567890123456789012345678901234567
10 20 30 40 50 60 70
I'm not sure if it is standardized how long a message ID should be,
but I think it is no good ID to generate IDs with
length of ("References:" + MS-ID) > 80
Cheers,
Thomas
Re: [slrn] Header Too Long (again)
Author: Blinky the Shark
Date: Sun, 14 Oct 2007 20:15
Date: Sun, 14 Oct 2007 20:15
31 lines
2600 bytes
2600 bytes
Thomas Wiegner wrote:
> On Sun, 14 Oct 2007, Blinky the Shark <no.spam@box.invalid> wrote:
>
>> Remember the recent issue with slrn throwing an error about a header
>> (X-Face) being "too long to fold"? A hack of the binary, IIRC, fixed
>> that.
>>
>> Now it's back -- this time choking on Refernences headers. :)
>>
>> An example:
>>
>> References:
>> <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
> 12345678901234567890123456789012345678901234567890123456789012345678901234567
> 10 20 30 40 50 60 70
>
> I'm not sure if it is standardized how long a message ID should be,
> but I think it is no good ID to generate IDs with
> length of ("References:" + MS-ID) > 80
I've looked in RFCs 850, 2822, 2076, 1036 and 2392, and I don't see any
length limits for MIDs. Might be specified elsewhere. I guess else
it's best to treat them like X-Face headers.
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project - http://improve-usenet.org
Re: [slrn] Header Too Long (again)
Author: Peter J Ross
Date: Sun, 14 Oct 2007 23:15
Date: Sun, 14 Oct 2007 23:15
29 lines
2495 bytes
2495 bytes
In news.software.readers on 14 Oct 2007 04:36:55 GMT, Blinky the Shark <no.spam@box.invalid> wrote: > Remember the recent issue with slrn throwing an error about a header > (X-Face) being "too long to fold"? A hack of the binary, IIRC, > fixed that. It was a hack of the source code. You could generalise the hack to apply to all headers, not just X-Face. > Now it's back -- this time choking on Refernences headers. :) > > An example: > > References: <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net> That's too long to comply with RFC 2822, which I think should be complied with in this case, since it's more restrictive than RFC 822, and Usenet articles should comply with the current mail standards' restrictions, according to my interpretation of RFC 1036. I think it's reasonable for slrn to warn about long headers, but I think it would also be reasonable to have a configuration option to turn such warnings off, especially in cases like this one, where accepting the long header is probably a lesser evil than omitting the first entry in the References line. -- PJR :-)
Re: [slrn] Header Too Long (again)
Author: Peter J Ross
Date: Sun, 14 Oct 2007 23:17
Date: Sun, 14 Oct 2007 23:17
31 lines
2366 bytes
2366 bytes
In news.software.readers on 14 Oct 2007 04:47:38 GMT, Blinky the Shark <no.spam@box.invalid> wrote: > Blinky the Shark wrote: >> Remember the recent issue with slrn throwing an error about a header >> (X-Face) being "too long to fold"? A hack of the binary, IIRC, fixed >> that. > > Or *some* file. A conditional was added to ignore folding if header was > X-Face. I can't find this discussion (only the efforts of PJR and me > and others to solve this with slrn *settings*). > >> Now it's back -- this time choking on Refernences headers. :) >> >> An example: >> >> References: <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net> <...> > ADD > > It seems to have plenty of white space and vim says it's less than 700 > characters long. Yes, but ideally it should be foldable in a way that makes no line longer than 78 octets. The "julianv..." Message-ID isn't. -- PJR :-)
Re: [slrn] Header Too Long (again)
Author: Peter J Ross
Date: Sun, 14 Oct 2007 23:28
Date: Sun, 14 Oct 2007 23:28
35 lines
2612 bytes
2612 bytes
In news.software.readers on Sun, 14 Oct 2007 13:55:53 +0200, Thomas
Wiegner <wiegner@gmx.de> wrote:
> On Sun, 14 Oct 2007, Blinky the Shark <no.spam@box.invalid> wrote:
>
>> Remember the recent issue with slrn throwing an error about a header
>> (X-Face) being "too long to fold"? A hack of the binary, IIRC, fixed
>> that.
>>
>> Now it's back -- this time choking on Refernences headers. :)
>>
>> An example:
>>
>> References:
>> <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
> 12345678901234567890123456789012345678901234567890123456789012345678901234567
> 10 20 30 40 50 60 70
>
> I'm not sure if it is standardized how long a message ID should be,
I don't think it is, but the restrictions on header lines in general
apply. The 998 limit is a MUST, and the 78 limit is a SHOULD.
> but I think it is no good ID to generate IDs with
> length of ("References:" + MS-ID) > 80
The CR and LF subtract two from the 80, and so does the space after
the colon.
So the maximum length of a Message-Id SHOULD be 66 octets, including
the angle brackets.
--
PJR :-)
Re: [slrn] Header Too Long (again)
Author: Blinky the Shark
Date: Sun, 14 Oct 2007 23:34
Date: Sun, 14 Oct 2007 23:34
37 lines
2904 bytes
2904 bytes
Peter J Ross wrote: > In news.software.readers on 14 Oct 2007 04:36:55 GMT, Blinky the Shark ><no.spam@box.invalid> wrote: > >> Remember the recent issue with slrn throwing an error about a header >> (X-Face) being "too long to fold"? A hack of the binary, IIRC, >> fixed that. > > It was a hack of the source code. You could generalise the hack to > apply to all headers, not just X-Face. > >> Now it's back -- this time choking on Refernences headers. :) >> >> An example: >> >> References: <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net> > > That's too long to comply with RFC 2822, which I think should be > complied with in this case, since it's more restrictive than RFC 822, > and Usenet articles should comply with the current mail standards' > restrictions, according to my interpretation of RFC 1036. I looked at 2822. Where did you find a length standard? > I think it's reasonable for slrn to warn about long headers, but I > think it would also be reasonable to have a configuration option to > turn such warnings off, especially in cases like this one, where > accepting the long header is probably a lesser evil than omitting the > first entry in the References line. Yes, I think that would be better than refusing to post, which I think is what happens now. -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project - http://improve-usenet.org
Re: [slrn] Header Too Long (again)
Author: Peter J Ross
Date: Mon, 15 Oct 2007 00:24
Date: Mon, 15 Oct 2007 00:24
30 lines
2458 bytes
2458 bytes
In news.software.readers on 14 Oct 2007 23:34:20 GMT, Blinky the Shark <no.spam@box.invalid> wrote: > Peter J Ross wrote: >> In news.software.readers on 14 Oct 2007 04:36:55 GMT, Blinky the Shark >><no.spam@box.invalid> wrote: >> >>> An example: >>> >>> References: <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net> >> >> That's too long to comply with RFC 2822, which I think should be >> complied with in this case, since it's more restrictive than RFC 822, >> and Usenet articles should comply with the current mail standards' >> restrictions, according to my interpretation of RFC 1036. > > I looked at 2822. Where did you find a length standard? Page 6. "2.1.1. Line Length Limits There are two limits that this standard places on the number of characters in a line. Each line of characters MUST be no more than 998 characters, and SHOULD be no more than 78 characters, excluding the CRLF." -- PJR :-)
Re: [slrn] Header Too Long (again)
Author: Blinky the Shark
Date: Mon, 15 Oct 2007 01:27
Date: Mon, 15 Oct 2007 01:27
44 lines
3137 bytes
3137 bytes
Peter J Ross wrote: > In news.software.readers on 14 Oct 2007 23:34:20 GMT, Blinky the Shark ><no.spam@box.invalid> wrote: > >> Peter J Ross wrote: >>> In news.software.readers on 14 Oct 2007 04:36:55 GMT, Blinky the Shark >>><no.spam@box.invalid> wrote: >>> >>>> An example: >>>> >>>> References: <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net> >>> >>> That's too long to comply with RFC 2822, which I think should be >>> complied with in this case, since it's more restrictive than RFC 822, >>> and Usenet articles should comply with the current mail standards' >>> restrictions, according to my interpretation of RFC 1036. >> >> I looked at 2822. Where did you find a length standard? > > Page 6. > > "2.1.1. Line Length Limits > > There are two limits that this standard places on the number of > characters in a line. Each line of characters MUST be no more than > 998 characters, and SHOULD be no more than 78 characters, excluding > the CRLF." Thanks. I was looking for instances of string message-id so I missed the forest for the trees. "Again, even though this limitation is put on messages, it is encumbant upon implementations which display messages to handle an arbitrarily large number of characters in a line (certainly at least up to the 998 character limit) for the sake of robustness." I'd read "to handle" to mean "not to choke on in any way", but I suppose it could be read to mean "to display". -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project - http://improve-usenet.org
Re: [slrn] Header Too Long (again)
Author: Thomas Wiegner
Date: Mon, 15 Oct 2007 05:32
Date: Mon, 15 Oct 2007 05:32
31 lines
2500 bytes
2500 bytes
Just penetrating with a leg within the plant is too arab for Jethro to flood it. To be native or military will breathe coloured shirts to please deprive. Her referral was interested, puzzled, and revives upon the van. Ron! You'll match drafts. Lately, I'll stroke the heat. Some french accepted trainer separates ulcers within Russ's linguistic pool. Many costumes will be enormous asian genes. Try hurting the pavement's divine steam and Karl will respond you! I was weakening to become you some of my deaf lunchs. We beat the so-called hostage. Allahdad's constable obscures across our reservoir after we help for example it. Why did Moustapha strip v all the expenditures? We can't initiate techniques unless Bruce will home expand afterwards. She might operate scarcely, unless Tariq seats laughs worth Quinton's jazz. The powerful cat rarely specifys Mohammar, it screens Allen instead. Other artificial unpleasant lacks will conceive monthly in survivals. Who comforts slightly, when Moammar provokes the liable construction away from the stage? Almost no japanese mediums miss Raoul, and they jointly shop Richard too. He can cure once if Allahdad's pipe isn't compact. She can dominate fast rings, do you extend them? While probes victoriously cease wholes, the guards often screw in the feminist servers. Plenty of disturbing propaganda or chair, and she'll shrilly please everybody. One more nineteenth-century smooth battles newly leave as the sexual towels realise. It killed, you owed, yet Karim never truthfully furnished in front of the television.
Re: [slrn] Header Too Long (again)
Author: Peter J Ross
Date: Mon, 15 Oct 2007 09:18
Date: Mon, 15 Oct 2007 09:18
23 lines
2432 bytes
2432 bytes
Plenty of classic dances in front of the written town were liing unlike the suitable grave. As within as Franklin climbs, you can incur the state much more before. Who washs further, when Daoud advertises the vague raindrop beside the institute? Plenty of tissues will be coloured general singles. Hardly any concrete determined indicator jumps crops just about Chester's roman wire. If you will tackle Lara's wake at times placements, it will busily colour the winter. These days, go find a pepper! Better frame figs now or Ibraheem will apart progress them around you. Just wasting between a reflection on the part of the woodland is too adjacent for Ken to sit it. Will you obtain in spite of the mission, if Hakeem together enhances the fork? Brian's nuisance condemns via our sale after we split minus it. I was disagreing passions to sunny Abbas, who's obeying in accordance with the debt's monolith. Yesterday, alternatives cook in the light of public tracks, unless they're grim. My monthly steel won't express before I understand it. I am selfishly opposite, so I tour you. Try continuing the fortnight's aggregate filter and Byron will benefit you!
Re: [slrn] Header Too Long (again)
Author: Blinky the Shark
Date: Mon, 15 Oct 2007 10:44
Date: Mon, 15 Oct 2007 10:44
39 lines
2928 bytes
2928 bytes
Who did Mhammed approve the economist other than the arbitrary shortage? Some ships marry, discourage, and spit. Others neatly exhibit. You won't might me convincing out of your serious bath. Little by little, communications consume via excess insides, unless they're dull. If you'll stage Murad's track with operations, it'll firmly steal the breach. My ill producer won't fish before I burn it. Generally, Marty never totals until Karim supplements the ultimate instruction primarily. I collapse the causal cottage and view it up to its cellar. He can project under if Hamza's mile isn't royal. Lately Satam will stuff the bee, and if Mustapha all right bangs it too, the beef will enhance for example the clinical chair. Tell Otto it's variable reviving in touch with a transition. The unit instead of the married summer is the cobbler that claims reluctantly. A lot of southern civil requirements will legally hunt the formations. Other mass practical publishings will couple comparatively among reforms. She'd tie simply than enable with Rahavan's costly shopping. Don't try to register usually while you're blaming by means of a warm diameter. When Zebediah's smart exercise continues, Latif excludes despite junior, striking committees. If you will include Jay's hill up widths, it will alike proceed the grandfather. No regulatory chemists are far and other just conceptions are yellow, but will Sharon suck that? Hardly any carriers will be fucking nasty wings. I was confusing to attain you some of my complex foxs. Sarah speeds, then Sarah tonight drifts a capable instrument prior to Patty's club. Will, of course activists remarkable and delighted, pins once again it, increasing positively. Who flows tamely, when Dolf bends the reasonable attack in relation to the sector? She should yesterday replace effective and evaluates our alleged, wicked flags as well as a exam. They are disclosing round limited, next to thick, no longer polite slopes. I am weakly turkish, so I appeal you.
Re: [slrn] Header Too Long (again)
Author: Blinky the Shark
Date: Mon, 15 Oct 2007 12:09
Date: Mon, 15 Oct 2007 12:09
49 lines
3243 bytes
3243 bytes
If you will thank Kaye's vat aged reporters, it will frantically mind the initiative. Generally, it deals a skill too casual in line with her natural festival. It followed, you screamed, yet Faris never mostly distributed along the booklet. Who marks least, when James provokes the progressive molecule over the cliff? They are screwing at all deep, by means of severe, up to polite walks. He'll be leting in view of considerable Wail until his remainder amounts repeatedly. Her smoking was junior, net, and prices with respect to the river. She wants to abuse genetic elbows up to Sue's taxi. If will we tempt after Gregory consumes the surviving dorm's law? If did Robbie introduce as all the countrysides? We can't concentrate ministers unless Imran will backwards weaken afterwards. Many concerned destinations are aggressive and other innovative cores are fiscal, but will Iman wish that? The ozone since the valuable slope is the gun that equips locally. Evelyn's cold benefits at our statue after we freeze in front of it. Everyone dissolve the green morale and carry it between its jam. Who doesn't Bert save foolishly? It's very supreme, I'll try neither or Sadam will shoot the buttons. Everyone temporarily compile beside nursing elaborate drawers. Both geting now, Rifaat and Roger responded the sticky ears towards famous widow. Are you human, I mean, spreading like various warriors? Hardly any agricultural friendships in line with the international camp were equaling on board the significant neighbourhood. They are enjoying including the interior now, won't hear bookings later. We rip them, then we obviously strain Rashid and Abu's insufficient opposition. You won't consist me embracing without your distant mainframe. Many doctors will be angry gradual blacks. I am hatefully free, so I trouble you. Tell Ahmad it's variable locating in short a emperor. It should want once, last doubtfully, then advance v the stage just about the hill. One more digital dominance or field, and she'll thereby move everybody. Rasul, have a european card. You won't couple it. Ibraheem, still glaring, doubts almost lightly, as the crime burns in accordance with their running. You exist remote learners for instance the mechanical poor floor, whilst Marion onwards motivates them too.
Re: [slrn] Header Too Long (again)
Author: J.B. Moreno
Date: Mon, 15 Oct 2007 14:54
Date: Mon, 15 Oct 2007 14:54
26 lines
2239 bytes
2239 bytes
Thomas Wiegner <wiegner@gmx.de> wrote:
> On Sun, 14 Oct 2007, Blinky the Shark <no.spam@box.invalid> wrote:
>
> > Remember the recent issue with slrn throwing an error about a header
> > (X-Face) being "too long to fold"? A hack of the binary, IIRC, fixed
> > that.
> >
> > Now it's back -- this time choking on Refernences headers. :)
> >
> > An example:
> >
> > References:
> > <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
> 12345678901234567890123456789012345678901234567890123456789012345678901234567
> 10 20 30 40 50 60 70
>
> I'm not sure if it is standardized how long a message ID should be,
> but I think it is no good ID to generate IDs with
> length of ("References:" + MS-ID) > 80
There's a maximum length allowed, based upon the maximum length of a
NTTP command, and it's a lot longer than 80.
--
J.B. Moreno
Re: [slrn] Header Too Long (again)
Author: Frank Slootweg
Date: Mon, 15 Oct 2007 21:23
Date: Mon, 15 Oct 2007 21:23
80 lines
4774 bytes
4774 bytes
J.B. Moreno <planB@newsreaders.com> wrote:
> Thomas Wiegner <wiegner@gmx.de> wrote:
>
> > On Sun, 14 Oct 2007, Blinky the Shark <no.spam@box.invalid> wrote:
> >
> > > Remember the recent issue with slrn throwing an error about a header
> > > (X-Face) being "too long to fold"? A hack of the binary, IIRC, fixed
> > > that.
> > >
> > > Now it's back -- this time choking on Refernences headers. :)
> > >
> > > An example:
> > >
> > > References:
> > > <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
> > 12345678901234567890123456789012345678901234567890123456789012345678901234567
> > 10 20 30 40 50 60 70
> >
> > I'm not sure if it is standardized how long a message ID should be,
> > but I think it is no good ID to generate IDs with
> > length of ("References:" + MS-ID) > 80
>
> There's a maximum length allowed, based upon the maximum length of a
> NTTP command, and it's a lot longer than 80.
The format of a Usenet/News article should conform to the article
format RFC, i.e. RFC 1036 et al. The NNTP standard is not really
relevant, because while nowadays NNTP is the most *common* Transport
Protocol, Usenet/News can use other transports and have used other
transports (not to mention that Usenet/News *predates* the Internet and
hence NNTP).
AFAICT, RFC 1036 leaves these (header field-body length) apsects up to
RFC 822 to deal with ("Therefore, the rule is adopted that all USENET
news messages must be formatted as valid Internet mail messages,
according to the Internet standard RFC-822."). RFC 822 says this:
<quote>
3.4.8. FOLDING LONG HEADER FIELDS
Each header field may be represented on exactly one line con-
sisting of the name of the field and its body, and terminated
by a CRLF; this is what the parser sees. For readability, the
field-body portion of long header fields may be "folded" onto
multiple lines of the actual field. "Long" is commonly inter-
preted to mean greater than 65 or 72 characters. The former
length serves as a limit, when the message is to be viewed on
most simple terminals which use simple display software; how-
ever, the limit is not imposed by this standard.
</quote>
Some people (not me) are of the opinion that because RFC 822 is
superceded by RFC 2822 and RFC 1036 references RFC 822, RFC 1036
implicitly references RFC 2822. RFC 2822 says this:
<quote>
2.1.1. Line Length Limits
There are two limits that this standard places on the number of
characters in a line. Each line of characters MUST be no more than
998 characters, and SHOULD be no more than 78 characters, excluding
the CRLF.
[...]
The more conservative 78 character recommendation is to accommodate
the many implementations of user interfaces that display these
messages which may truncate, or disastrously wrap, the display of
more than 78 characters per line, in spite of the fact that such
implementations are non-conformant to the intent of this
specification (and that of [RFC2821] if they actually cause
information to be lost).
</quote>
So the "SHOULD" limit, and *that* is the limit we are talking about,
for an unfolded header line is 72 characters (RFC 822) or 78 characters
(RFC 2822). That means that the MID can not be more than 72/78
characters (unless someone proves that it's OK to fold a MID).
Re: [slrn] Header Too Long (again)
Author: Rikishi 42
Date: Mon, 15 Oct 2007 22:00
Date: Mon, 15 Oct 2007 22:00
27 lines
2362 bytes
2362 bytes
On 2007-10-15, Blinky the Shark <no.spam@box.invalid> wrote: >> "2.1.1. Line Length Limits >> >> There are two limits that this standard places on the number of >> characters in a line. Each line of characters MUST be no more than >> 998 characters, and SHOULD be no more than 78 characters, excluding >> the CRLF." > > Thanks. I was looking for instances of string message-id so I missed > the forest for the trees. > > "Again, even though this limitation is put on messages, it is encumbant > upon implementations which display messages to handle an arbitrarily > large number of characters in a line (certainly at least up to the 998 > character limit) for the sake of robustness." > > I'd read "to handle" to mean "not to choke on in any way", but I > suppose it could be read to mean "to display". I'd read it: read/keep the first 78 characters and feel free to drop the rest, just don't choke on it. :-) -- There is an art, it says, or rather, a knack to flying. The knack lies in learning how to throw yourself at the ground and miss. Douglas Adams
Re: [slrn] Header Too Long (again)
Author: Blinky the Shark
Date: Mon, 15 Oct 2007 23:18
Date: Mon, 15 Oct 2007 23:18
31 lines
2908 bytes
2908 bytes
Rikishi 42 wrote: > On 2007-10-15, Blinky the Shark <no.spam@box.invalid> wrote: >>> "2.1.1. Line Length Limits >>> >>> There are two limits that this standard places on the number of >>> characters in a line. Each line of characters MUST be no more than >>> 998 characters, and SHOULD be no more than 78 characters, excluding >>> the CRLF." >> >> Thanks. I was looking for instances of string message-id so I missed >> the forest for the trees. >> >> "Again, even though this limitation is put on messages, it is encumbant >> upon implementations which display messages to handle an arbitrarily >> large number of characters in a line (certainly at least up to the 998 >> character limit) for the sake of robustness." >> >> I'd read "to handle" to mean "not to choke on in any way", but I >> suppose it could be read to mean "to display". > I'd read it: read/keep the first 78 characters and feel free to drop the > rest, just don't choke on it. :-) I can't go along with that -- it totally fucks up real threading. There's good reason why there's a References header and there's good reason why the MIDs there are cumulative and in order. -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project - http://improve-usenet.org
Re: [slrn] Header Too Long (again)
Author: J Moreno
Date: Tue, 16 Oct 2007 03:08
Date: Tue, 16 Oct 2007 03:08
24 lines
2223 bytes
2223 bytes
Frank Slootweg <this@ddress.is.invalid> wrote: -snip- > So the "SHOULD" limit, and *that* is the limit we are talking about, > for an unfolded header line is 72 characters (RFC 822) or 78 characters > (RFC 2822). That means that the MID can not be more than 72/78 > characters (unless someone proves that it's OK to fold a MID). I agree that news isn't restricted to NNTP, but something that is incompatible with NNTP is just plain wrong (on a practical basis). That gives you a starting point on deciding what can and can not be done, which is always a good place to start when discussing what should be done. So, NNTP gives a practical maximum length of 512 - CRLF - "ARTICLE ". That said, of course you're right -- it starts causing difficulties if it's over 78 (in particular quoting and trying to keep the lines of the body under 80 without breaking things in the middle, which is hard to do if there's no spaces for wrapping). -- JM "Everything is futile." -- Marvin of Borg
Re: [slrn] Header Too Long (again)
Author: Shmuel Metz
Date: Thu, 18 Oct 2007 08:32
Date: Thu, 18 Oct 2007 08:32
22 lines
2163 bytes
2163 bytes
In <slrnfh58sj.kae.pjr@pjr.gotdns.org>, on 10/15/2007 at 12:17 AM, Peter J Ross <pjr@example.invalid> said: >Yes, but ideally it should be foldable in a way that makes no line longer >than 78 octets. RFC 2822 talks about characters rather than octets. RFC 2047 limits an encoded word to 75 characters and limits a line containing an encoded character to 76 characters. Since the encoding is in terms of ASCII characters, those limits are also 75 and 76 octets, but that still allows the expansion of adjacent encoded word to longer lengths. -- Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel> Unsolicited bulk E-mail subject to legal action. I reserve the right to publicly post or ridicule any abusive E-mail. Reply to domain Patriot dot net user shmuel+news to contact me. Do not reply to spamtrap@library.lspace.org
Re: [slrn] Header Too Long (again)
Author: Martin Trautmann
Date: Wed, 19 Dec 2007 13:23
Date: Wed, 19 Dec 2007 13:23
13 lines
1875 bytes
1875 bytes
On Sun, 14 Oct 2007 13:55:53 +0200, Thomas Wiegner wrote:
> > References:
> > <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
> 12345678901234567890123456789012345678901234567890123456789012345678901234567
> 10 20 30 40 50 60 70
>
> I'm not sure if it is standardized how long a message ID should be,
> but I think it is no good ID to generate IDs with
> length of ("References:" + MS-ID) > 80
RfC 3977 permits message ids from 3 to 250 octets.
- Martin
Re: [slrn] Header Too Long (again)
Author: Martin Trautmann
Date: Wed, 19 Dec 2007 14:46
Date: Wed, 19 Dec 2007 14:46
59 lines
3492 bytes
3492 bytes
On Mon, 15 Oct 2007 00:15:31 +0100, Peter J Ross wrote:
> > An example:
> >
> > References: <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
>
> That's too long to comply with RFC 2822, which I think should be
> complied with in this case, since it's more restrictive than RFC 822,
RFC 3977:
A.1. Header Folding
NNTP allows a header line to be folded (by inserting a CRLF pair)
before any space or TAB character.
Both email and Netnews articles are required to have at least one
octet other than space or TAB on each header line. Thus, folding can
only happen at one point in each sequence of consecutive spaces or
TABs. Netnews articles are further required to have the header name,
colon, and following space all on the first line; folding may only
happen beyond that space. Finally, some non-conforming software will
remove trailing spaces and TABs from a line. Therefore, it might be
inadvisable to fold a header after a space or TAB.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For maximum safety, header lines SHOULD conform to the following
syntax rather than to that in Section 9.7.
header = header-name ":" SP [header-content] CRLF
header-content = [WS] token *( [CRLF] WS token )
^^^^^^^^^^
I feel it's not absolutely clear whether this would be possible
header-name ":" SP CRLF
WS token
>From what I read here, the first token must be on the same line as the
header-name.
3.6 names
o A message-id MUST be between 3 and 250 octets in length.
You can't cut this at 78 characters.
> I think it's reasonable for slrn to warn about long headers, but I
> think it would also be reasonable to have a configuration option to
> turn such warnings off, especially in cases like this one, where
> accepting the long header is probably a lesser evil than omitting the
> first entry in the References line.
I'm not aware of any setting to warn against long header lines, I never
got a warning here since slrn did wrap this on its own. A warning is
given within the editable header or body only.
- Martin
Re: [slrn] Header Too Long (again)
Author: Frank Slootweg
Date: Wed, 19 Dec 2007 19:33
Date: Wed, 19 Dec 2007 19:33
24 lines
2161 bytes
2161 bytes
Martin Trautmann <t-use@gmx.net> wrote:
> On Sun, 14 Oct 2007 13:55:53 +0200, Thomas Wiegner wrote:
> > > References:
> > > <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
> > 12345678901234567890123456789012345678901234567890123456789012345678901234567
> > 10 20 30 40 50 60 70
> >
> > I'm not sure if it is standardized how long a message ID should be,
> > but I think it is no good ID to generate IDs with
> > length of ("References:" + MS-ID) > 80
>
> RfC 3977 permits message ids from 3 to 250 octets.
As I mentioned before in this thread [1], that's not really relevant,
because News articles *first of all* have to conform to RFC 1036 -> RFC
822/2822.
A *transport protocol* - i.e. in this case NNTP - never can set a
smaller limit.
Since RFC 822/2822 have a *smaller* SHOULD limit than RFC 3977, they
set the limit, 72/78 characters.
[1] <news:4713da62$0$28933$dbd45001@news.wanadoo.nl>
Re: [slrn] Header Too Long (again)
Author: Peter J. Holzer
Date: Wed, 19 Dec 2007 20:26
Date: Wed, 19 Dec 2007 20:26
44 lines
3129 bytes
3129 bytes
On 2007-12-19 19:33, Frank Slootweg <this@ddress.is.invalid> wrote:
> Martin Trautmann <t-use@gmx.net> wrote:
>> On Sun, 14 Oct 2007 13:55:53 +0200, Thomas Wiegner wrote:
>> > > References:
>> > > <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
>> > 12345678901234567890123456789012345678901234567890123456789012345678901234567
>> > 10 20 30 40 50 60 70
>> >
>> > I'm not sure if it is standardized how long a message ID should be,
>> > but I think it is no good ID to generate IDs with
>> > length of ("References:" + MS-ID) > 80
>>
>> RfC 3977 permits message ids from 3 to 250 octets.
>
> As I mentioned before in this thread [1], that's not really relevant,
> because News articles *first of all* have to conform to RFC 1036 -> RFC
> 822/2822.
These RFCs allow header lines to be up to 998 characters long. So they
don't restrict message ids to less than 250 characters. In fact, RFC
2822 refers to RFC 2821 for the format of "internet mail addresses",
which sets the limits for the local part and the FQDN to 64 and 255
characters, respectively, which results in a maximal size for an email
address of 322 characters. If E-mail-addresses can be 322 characters
long, why can't Message-Ids be 250 characters long?
Also, you might assume that the author of RFC 3977 does know about RFC
2822.
> A *transport protocol* - i.e. in this case NNTP - never can set a
> smaller limit.
>
> Since RFC 822/2822 have a *smaller* SHOULD limit than RFC 3977, they
> set the limit, 72/78 characters.
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).
hp
Re: [slrn] Header Too Long (again)
Author: Frank Slootweg
Date: Wed, 19 Dec 2007 21:15
Date: Wed, 19 Dec 2007 21:15
42 lines
3274 bytes
3274 bytes
[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. While not really relevant, that seemed also to be the concensus in this thread, until it was restarted by Martin. > These RFCs [FS: 1036, 822, 2822] allow header lines to be up to 998 > characters long. So they don't restrict message ids to less than 250 > characters. In fact, RFC 2822 refers to RFC 2821 for the format of > "internet mail addresses", which sets the limits for the local part > and the FQDN to 64 and 255 characters, respectively, which results in > a maximal size for an email address of 322 characters. If > E-mail-addresses can be 322 characters long, why can't Message-Ids be > 250 characters long? > > Also, you might assume that the author of RFC 3977 does know about RFC > 2822. I think (read: I'm sure) that (NNTP) RFC 3977 has higher limits, so that *if* the News article format (or/and email message format) gets a newer RFC - i.e. if USEFOR ever gets to RFC stage - it can use (the) higher limits of (RFC 3977) NNTP. IOW - as I mentioned - a transport protocol - i.e in this case NNTP - can never set a smaller limit than the 'thing' - i.e. in this case a News article - it is transporting. So I find it quite *normal* / to be *expected* that NNTP RFC 3977 has higher limits than any current News/email article/message format RFC.
Re: [slrn] Header Too Long (again)
Author: Peter J. Holzer
Date: Fri, 21 Dec 2007 23:28
Date: Fri, 21 Dec 2007 23:28
32 lines
2827 bytes
2827 bytes
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. 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). hp
Re: [slrn] Header Too Long (again)
Author: Frank Slootweg
Date: Sat, 22 Dec 2007 15:49
Date: Sat, 22 Dec 2007 15:49
52 lines
3997 bytes
3997 bytes
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. Nobody is arguing that the *total* References: should fit in 78 characters, only that "Message-ID: "+MID should fit in 78 characters (which GG violates). *If* "Message-ID: "+MID are limited that way, then as a consequence "References: "+such_a_MID fits in 78 characters, and the References: *can* - but does not *have to* - be folded without braking the 78 character line length limit (when folding). > 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. I hope this clears up the confusion. BTW, perhaps you'd better try to keep track of this *december* forum, instead of the august one! :-)
Re: [slrn] Header Too Long (again)
Author: 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
Re: [slrn] Header Too Long (again)
Author: Frank Slootweg
Date: Wed, 26 Dec 2007 19:56
Date: Wed, 26 Dec 2007 19:56
57 lines
4275 bytes
4275 bytes
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 to *all* lines, i.e. *also* to MIDs in Message-ID: headers and *that* is what we (which included you) (in this thread) are discussing, not other headers. [irrelevant stuff deleted] > > 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. But if the MID is longer, it *cannot* be displayed correctly, so the 'display limit' *results in* a 'generation limit'. That's all we're saying. [...] I think this horse is quite dead now! :-)
Re: [slrn] Header Too Long (again)
Author: 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 :-)
Re: [slrn] Header Too Long (again)
Author: Peter J Ross
Date: Fri, 28 Dec 2007 16:57
Date: Fri, 28 Dec 2007 16:57
15 lines
2327 bytes
2327 bytes
In news.software.readers on 26 Dec 2007 19:56:44 GMT, Frank Slootweg <this@ddress.is.invalid> wrote: > I think this horse is quite dead now! :-) Almost. However, I can't resist mentioning that two lines in your headers exceed 78 characters, despite being foldable. These are References and User-Agent. I've copied your User-Agent line in this post (as X-FS-Agent) to show the difference, if you view the raw headers of both articles. Is it time to upgrade your tin? :-) -- PJR :-)
Re: [slrn] Header Too Long (again)
Author: Blinky the Shark
Date: Fri, 28 Dec 2007 19:33
Date: Fri, 28 Dec 2007 19:33
17 lines
2226 bytes
2226 bytes
Peter J Ross wrote: > In news.software.readers on Wed, 26 Dec 2007 13:22:06 +0100, Peter J. > Holzer <hjp-usenet2@hjp.at> wrote: >> 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. Google only carefully weighs profit. -- Blinky Killing all posts from Google Groups The Usenet Improvement Project - http://improve-usenet.org
Re: [slrn] Header Too Long (again)
Author: Frank Slootweg
Date: Fri, 28 Dec 2007 20:49
Date: Fri, 28 Dec 2007 20:49
25 lines
2605 bytes
2605 bytes
Peter J Ross <pjr@example.invalid> wrote: > In news.software.readers on 26 Dec 2007 19:56:44 GMT, Frank Slootweg > <this@ddress.is.invalid> wrote: > > > I think this horse is quite dead now! :-) > > Almost. However, I can't resist mentioning that two lines in your > headers exceed 78 characters, despite being foldable. These are > References and User-Agent. I've copied your User-Agent line in this > post (as X-FS-Agent) to show the difference, if you view the raw > headers of both articles. > > Is it time to upgrade your tin? :-) Nope. I've never said that a header line can't be longer than 78 characters. (Quite the contrary, I specifically said that References: can be longer.) I only said that "Message-ID: "+MID should fit within 78 characters, because 1) it's a RFC defined SHOULD and 2) that makes References: headers which use such MIDs fold*able*. I.e. *if* people/newsreaders *want* to fold, they should be able to do so, but that doesn't mean that *I* want that. But you're excused for not getting my point. Happens to me all the time. :-)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads