Thread View: news.software.readers
18 messages
18 total messages
Started by Nomen Nescio
Mon, 07 Aug 2006 15:50
does it matter whether References headers are folded?
Author: Nomen Nescio
Date: Mon, 07 Aug 2006 15:50
Date: Mon, 07 Aug 2006 15:50
9 lines
941 bytes
941 bytes
RFC 1036 says the message-IDs in the References header should be separated by a space, but it's quite common to see them folded (separated by a newline and some spaces or a newline and a tab). Does it matter? Is either folded or unfolded better or worse than the other?
Re: does it matter whether References headers are folded?
Author: Dr.Ruud
Date: Mon, 07 Aug 2006 16:23
Date: Mon, 07 Aug 2006 16:23
25 lines
1776 bytes
1776 bytes
Nomen Nescio schreef:
> RFC 1036 says the message-IDs in the References header should be
> separated by a space
s/space/blank/
<quote>
2. Message Format
[...]
A standard USENET message consists of several header lines, followed
by a blank line, followed by the body of the message. Each header
line consist of a keyword, a colon, a blank, and some additional
information. [...] The Internet convention of
continuation header lines (beginning with a blank or tab) is
allowed.
</quote>
--
Affijn, Ruud
"Gewoon is een tijger."
Re: does it matter whether References headers are folded?
Author: Nomen Nescio
Date: Mon, 07 Aug 2006 17:50
Date: Mon, 07 Aug 2006 17:50
35 lines
1475 bytes
1475 bytes
"Dr.Ruud" <rvtol+news@isolution.nl> wrote: > Nomen Nescio schreef: > > > RFC 1036 says the message-IDs in the References header should be > > separated by a space > > s/space/blank/ > > <quote> > 2. Message Format > [...] > A standard USENET message consists of several header lines, followed > by a blank line, followed by the body of the message. Each header > line consist of a keyword, a colon, a blank, and some additional > information. [...] The Internet convention of > continuation header lines (beginning with a blank or tab) is > allowed. > </quote> Right, but are the two formats absolutely equal or is one considerd a little better than the other?
Re: does it matter whether References headers are folded?
Author: Dr.Ruud
Date: Mon, 07 Aug 2006 18:06
Date: Mon, 07 Aug 2006 18:06
39 lines
2450 bytes
2450 bytes
Nomen Nescio schreef: > Dr.Ruud: >> Nomen Nescio: >>> RFC 1036 says the message-IDs in the References header should be >>> separated by a space >> >> s/space/blank/ >> >> <quote> >> 2. Message Format >> [...] >> A standard USENET message consists of several header lines, >> followed by a blank line, followed by the body of the message. >> Each header line consist of a keyword, a colon, a blank, and >> some additional information. [...] The Internet convention of >> continuation header lines (beginning with a blank or tab) is >> allowed. >> </quote> > > Right, but are the two formats absolutely equal or is one > considerd a little better than the other? Equal. Just don't put a fold directly after the "Keyword:". It is OK to put each Message-ID on it's own line, but the first (the oldest) must be on the same line as the "References: ". You are even allowed to remove Message-IDs from the References header field (to limit the total (unfolded) length), but certainly don't remove the one-or-two oldest and newest ones (they are used for the "threaded view" by many clients). -- Affijn, Ruud "Gewoon is een tijger."
Re: does it matter whether References headers are folded?
Author: Nomen Nescio
Date: Mon, 07 Aug 2006 19:30
Date: Mon, 07 Aug 2006 19:30
14 lines
1743 bytes
1743 bytes
Nomen Nescio wrote: > RFC 1036 says the message-IDs in the References header should be > separated by a space, but it's quite common to see them folded > (separated by a newline and some spaces or a newline and a tab). Technically speaking, after a header reaches a certain length it *must* be folded to prevent risk of breaking some clients/transports. And either the space or tab method is acceptable. =46rom an RFC point of view it doesn't matter. =46rom an anonymity POV it might (you cross posted to APAS).
Re: does it matter whether References headers are folded?
Author: Anonymous
Date: Mon, 07 Aug 2006 20:21
Date: Mon, 07 Aug 2006 20:21
20 lines
2056 bytes
2056 bytes
In article <2c0c58bebd78da6b816987b210060211@dizum.com> Nomen Nescio <nobody@dizum.com> wrote: > > RFC 1036 says the message-IDs in the References header should be > separated by a space, but it's quite common to see them folded > (separated by a newline and some spaces or a newline and a tab). > > Does it matter? > > Is either folded or unfolded better or worse than the other? It shouldn't matter, but there are times when it matters to some home-grown applications. For example I've found that the BigApple mail2news software, currently run by Bikikii I think, barfs on folded headers by only including the first line. Other times we've seen non-folded headers truncated by a limit on line length. What to do.
Re: does it matter whether References headers are folded?
Author: Curt Welch
Date: Mon, 07 Aug 2006 20:37
Date: Mon, 07 Aug 2006 20:37
93 lines
5845 bytes
5845 bytes
Anonymous <nobody@bikikii.ath.cx.invalid> wrote:
> In article <2c0c58bebd78da6b816987b210060211@dizum.com>
> Nomen Nescio <nobody@dizum.com> wrote:
> >
> > RFC 1036 says the message-IDs in the References header should be
> > separated by a space, but it's quite common to see them folded
> > (separated by a newline and some spaces or a newline and a tab).
> >
> > Does it matter?
> >
> > Is either folded or unfolded better or worse than the other?
>
> It shouldn't matter, but there are times when it matters to some
> home-grown applications. For example I've found that the BigApple
> mail2news software, currently run by Bikikii I think, barfs on folded
> headers by only including the first line. Other times we've seen
> non-folded headers truncated by a limit on line length.
>
> What to do.
References: tend not to be folded and are intelligently truncated to 998
bytes by removing Message-IDs starting with the second on the line
(always leaving the first and as many of the last ones as possible).
Technically, you should be able to fold them but there was a time in the
past that it was felt it would break too many things if you folded the
References: line. I tend to suspect that's not an big issue anymore. The
998 limit was because some news software (INN at the time?) didn't allow
you to post lines longer than that. That was a limit after the folding
was removed so you couldn't "fix" the line length problem with folding.
I have no idea what INN and all the other news servers currently allow for
line lengths and whether the 998 limit is important anymore.
However, References: are one of the fields that are part of XOVER and
keeping References: lines more than 1000 bytes in length I think is just
wasteful at best since all the Message-IDs except the first and last are
generally redundant and of minor importance. So I think it is probably
wise to continue to use a truncation algorithm.
And, if I was writing a new reader, I wouldn't fold References: lines -
just because there's no advantage to doing it that I know of and a slight
risk it would cause an issue.
Here's some more thoughts about References: lines from the GNKSA:
http://www.xs4all.nl/~js/gnksa/gnksa.txt
7) Make sure followups contain valid References
When creating a followup, the software MUST create a "References: "
header line that contains, as its last element, the Message-ID of the
original article. An individual Message-ID MUST never be truncated.
The software MUST include at least three additional Message-IDs from
the original article's References header as well, if they are available.
Try to stay as close as possible to the spirit of "son-of-1036", which
states:
<<Followup agents SHOULD not shorten References headers. If
it is absolutely necessary to shorten the header, as a des-
perate last resort, a followup agent MAY do this by deleting
some of the message IDs. However, it MUST not delete the
first message ID, the last three message IDs (including that
of the immediate precursor), or any message ID mentioned in
the body of the followup.>>
However, it also says:
<<If it is absolutely necessary for an implementation to
impose a limit on the length of header lines, body lines, or
header logical lines, that limit shall be at least 1000
octets, including EOL representations.>>
So, bear in mind that news transports are not guaranteed to be able to
handle arbitrary long lines. Furthermore, keep in mind that some news
transports choke on continued (multi-line) "References: " headers.
Therefore, keep as many Message-IDs as will fit on a line starting with
"References: " with a maximum length of 998 characters. (An octet is a
byte of 8 bits, EOL representation takes two bytes.)
Exception: Damaged (truncated) Message-IDs SHOULD NOT be included.
Neither should `bogus' Message-IDs -- IDs that somehow got inserted (by
a misguided user, maybe) but don't belong to the thread.
Rationale: Threaded news-readers depend on References to do their magic.
This too is basic RFC compliance. Be as complete as the line length
limit allows, but do not propagate errors.
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com http://NewsReader.Com/
Re: does it matter whether References headers are folded?
Author: Dr.Ruud
Date: Mon, 07 Aug 2006 21:26
Date: Mon, 07 Aug 2006 21:26
102 lines
5746 bytes
5746 bytes
Curt Welch schreef: > Anonymous <nobody@bikikii.ath.cx.invalid> wrote: >> In article <2c0c58bebd78da6b816987b210060211@dizum.com> >> Nomen Nescio <nobody@dizum.com> wrote: >>> >>> RFC 1036 says the message-IDs in the References header should be >>> separated by a space, but it's quite common to see them folded >>> (separated by a newline and some spaces or a newline and a tab). >>> >>> Does it matter? >>> >>> Is either folded or unfolded better or worse than the other? >> >> It shouldn't matter, but there are times when it matters to some >> home-grown applications. For example I've found that the BigApple >> mail2news software, currently run by Bikikii I think, barfs on folded >> headers by only including the first line. Other times we've seen >> non-folded headers truncated by a limit on line length. >> >> What to do. > > References: tend not to be folded and are intelligently truncated to > 998 bytes by removing Message-IDs starting with the second on the > line (always leaving the first and as many of the last ones as > possible). Technically, you should be able to fold them but there > was a time in the past that it was felt it would break too many > things if you folded the References: line. I tend to suspect that's > not an big issue anymore. The 998 limit was because some news > software (INN at the time?) didn't allow you to post lines longer > than that. That was a limit after the folding was removed so you > couldn't "fix" the line length problem with folding. > > I have no idea what INN and all the other news servers currently > allow for line lengths and whether the 998 limit is important anymore. > > However, References: are one of the fields that are part of XOVER and > keeping References: lines more than 1000 bytes in length I think is > just wasteful at best since all the Message-IDs except the first and > last are generally redundant and of minor importance. So I think it > is probably wise to continue to use a truncation algorithm. > > And, if I was writing a new reader, I wouldn't fold References: lines > - just because there's no advantage to doing it that I know of and a > slight risk it would cause an issue. > > Here's some more thoughts about References: lines from the GNKSA: > > http://www.xs4all.nl/~js/gnksa/gnksa.txt > > 7) Make sure followups contain valid References > > When creating a followup, the software MUST create a "References: " > header line that contains, as its last element, the Message-ID of the > original article. An individual Message-ID MUST never be truncated. > > The software MUST include at least three additional Message-IDs from > the original article's References header as well, if they are > available. Try to stay as close as possible to the spirit of > "son-of-1036", which states: > > <<Followup agents SHOULD not shorten References headers. If > it is absolutely necessary to shorten the header, as a des- > perate last resort, a followup agent MAY do this by deleting > some of the message IDs. However, it MUST not delete the > first message ID, the last three message IDs (including that > of the immediate precursor), or any message ID mentioned in > the body of the followup.>> > > However, it also says: > > <<If it is absolutely necessary for an implementation to > impose a limit on the length of header lines, body lines, or > header logical lines, that limit shall be at least 1000 > octets, including EOL representations.>> > > So, bear in mind that news transports are not guaranteed to be able to > handle arbitrary long lines. Furthermore, keep in mind that some news > transports choke on continued (multi-line) "References: " headers. > > Therefore, keep as many Message-IDs as will fit on a line starting > with "References: " with a maximum length of 998 characters. (An > octet is a byte of 8 bits, EOL representation takes two bytes.) > > Exception: Damaged (truncated) Message-IDs SHOULD NOT be included. > Neither should `bogus' Message-IDs -- IDs that somehow got inserted > (by > a misguided user, maybe) but don't belong to the thread. > > Rationale: Threaded news-readers depend on References to do their > magic. This too is basic RFC compliance. Be as complete as the line > length > limit allows, but do not propagate errors. -- Affijn, Ruud "Gewoon is een tijger."
Re: does it matter whether References headers are folded?
Author: Dr.Ruud
Date: Mon, 07 Aug 2006 21:32
Date: Mon, 07 Aug 2006 21:32
23 lines
2126 bytes
2126 bytes
Curt Welch schreef: > [son-of-1036] > <<Followup agents SHOULD not shorten References headers. If > it is absolutely necessary to shorten the header, as a des- > perate last resort, a followup agent MAY do this by deleting > some of the message IDs. However, it MUST not delete the > first message ID, the last three message IDs (including that > of the immediate precursor), or any message ID mentioned in > the body of the followup.>> There is one (very theoretical) catch in there: a <message-id> can be that long that a References: header field with four of them wouldn't fit in 998 characters. But then you would just drop one more (the oldest of the tail). -- Affijn, Ruud "Gewoon is een tijger."
Re: does it matter whether References headers are folded?
Author: J Moreno
Date: Tue, 08 Aug 2006 04:52
Date: Tue, 08 Aug 2006 04:52
30 lines
2527 bytes
2527 bytes
Dr.Ruud <rvtol+news@isolution.nl> wrote: > Curt Welch schreef: > > > [son-of-1036] > > <<Followup agents SHOULD not shorten References headers. If > > it is absolutely necessary to shorten the header, as a des- > > perate last resort, a followup agent MAY do this by deleting > > some of the message IDs. However, it MUST not delete the > > first message ID, the last three message IDs (including that > > of the immediate precursor), or any message ID mentioned in > > the body of the followup.>> > > There is one (very theoretical) catch in there: a <message-id> can be > that long that a References: header field with four of them wouldn't fit > in 998 characters. But then you would just drop one more (the oldest of > the tail). Hmn, I'm not sure that's actually true -- or at least I'm not sure it should be true if people play by the rules. There's a limit on the MID because of a NNTP command, IMS it also should prevent any four MID from exceeding the 998 limit. Of course, not everyone plays by the rules, so you're right...still, rather unlikely. -- JM "Everything is futile." -- Marvin of Borg
Re: does it matter whether References headers are folded?
Author: Frog Admin
Date: Sun, 13 Aug 2006 20:29
Date: Sun, 13 Aug 2006 20:29
24 lines
2020 bytes
2020 bytes
Nomen Nescio <nobody@dizum.com> wrote: >Right, but are the two formats absolutely equal or is one >considerd a little better than the other? For 2 of the groups to which you have crossposted this, the two forms of header are fully equivalent. In APAS they are far from equal. Some of the mail2news gateways do not properly handle header lines exceeding about 120 or 180 characters: the header may be truncated, or it may get broken into two pieces with the second piece moved to become the first line in the body of the message. You really don't want this. So in APAS if your References header is going to exceed about 120 characters then it is advisable to distribute it over a few lines each shorter than 120 characters with all but the first indented by a few spaces, as you have been describing. The frog software was written so that my gateway /never/ mangled long headers, but some of the current gateways do exhibit this shortcoming. F-A (retired)
Re: does it matter whether References headers are folded?
Author: BiKiKii
Date: Mon, 25 Sep 2006 20:15
Date: Mon, 25 Sep 2006 20:15
40 lines
2369 bytes
2369 bytes
Anonymous <nobody@bikikii.ath.cx.invalid> wrote in news:1K0ORU6738936.6401388889@anonymous.poster: > In article <2c0c58bebd78da6b816987b210060211@dizum.com> > Nomen Nescio <nobody@dizum.com> wrote: >> >> RFC 1036 says the message-IDs in the References header should be >> separated by a space, but it's quite common to see them folded >> (separated by a newline and some spaces or a newline and a tab). >> >> Does it matter? >> >> Is either folded or unfolded better or worse than the other? > > It shouldn't matter, but there are times when it matters to some > home-grown applications. For example I've found that the BigApple > mail2news software, currently run by Bikikii I think, barfs on folded > headers by only including the first line. Other times we've seen > non-folded headers truncated by a limit on line length. > > What to do. > > BiKiKii M2N routine includes BA posting software. Was not aware of folding References issue. Will look into fix for folded Ref header within BiKiKii's M@N routine. ...apparently she is in need of swift kick (kickstart) too BiKiKii
Re: does it matter whether References headers are folded?
Author: BiKiKii
Date: Mon, 25 Sep 2006 23:58
Date: Mon, 25 Sep 2006 23:58
60 lines
2621 bytes
2621 bytes
On 25 Sep 2006, BiKiKii wrote:
>Anonymous <nobody@bikikii.ath.cx.invalid> wrote in
>news:1K0ORU6738936.6401388889@anonymous.poster:
>
>> In article <2c0c58bebd78da6b816987b210060211@dizum.com>
>> Nomen Nescio <nobody@dizum.com> wrote:
>>>
>>> RFC 1036 says the message-IDs in the References header should be
>>> separated by a space, but it's quite common to see them folded
>>> (separated by a newline and some spaces or a newline and a tab).
>>>
>>> Does it matter?
>>>
>>> Is either folded or unfolded better or worse than the other?
>>
>> It shouldn't matter, but there are times when it matters to some
>> home-grown applications. For example I've found that the BigApple
>> mail2news software, currently run by Bikikii I think, barfs on folded
>> headers by only including the first line. Other times we've seen
>> non-folded headers truncated by a limit on line length.
>>
>> What to do.
>>
>>
>
>BiKiKii M2N routine includes BA posting software.
>Was not aware of folding References issue.
>Will look into fix for folded Ref header within BiKiKii's M@N routine.
>
> ...apparently she is in need of swift kick (kickstart) too
>
Please send test messages to BiKiKii M2N which have folded Ref Header
need raw data to do some fix of routine
BiKiKii
Re: does it matter whether References headers are folded?
Author: Cyberiade.it Anonymous Remailer
Date: Tue, 26 Sep 2006 22:01
Date: Tue, 26 Sep 2006 22:01
21 lines
1894 bytes
1894 bytes
In article <81AJ2EOY38985.790787037@anonymous.poster> BiKiKii <bikikii-admin@example.com> wrote: > > > Please send test messages to BiKiKii M2N which have folded Ref Header > need raw data to do some fix of routine > > BiKiKii Sure. This message should meet your request. Using QuickSilver, the folded References for this very outgoing message are exactly References: <2c0c58bebd78da6b816987b210060211@dizum.com> <1K0ORU6738936.6401388889@anonymous.poster> <B3N9Q44T38985.635787037@anonymous.poster> <81AJ2EOY38985.790787037@anonymous.poster> We shall see if this makes a liar out of me. Hope it helps.
Re: does it matter whether References headers are folded?
Author: Cyberiade.it Anonymous Remailer
Date: Tue, 26 Sep 2006 22:29
Date: Tue, 26 Sep 2006 22:29
30 lines
2227 bytes
2227 bytes
In article <81AJ2EOY38985.790787037@anonymous.poster> BiKiKii <bikikii-admin@example.com> wrote: > > > Please send test messages to BiKiKii M2N which have folded Ref Header > need raw data to do some fix of routine > > BiKiKii And here's a duplicate message with the same References except that it is being sent to the panta mail2news. Using QuickSilver, the folded References for this very outgoing message are exactly References: <2c0c58bebd78da6b816987b210060211@dizum.com> <1K0ORU6738936.6401388889@anonymous.poster> <B3N9Q44T38985.635787037@anonymous.poster> <81AJ2EOY38985.790787037@anonymous.poster> ~~~~~~~~~~~~~~~~~~~~~ This message was posted via one or more anonymous remailing services. The original sender is unknown. Any address shown in the From header is unverified. You need a valid hashcash token to post to groups other than alt.test and alt.anonymous.messages. Visit www.panta-rhei.eu.org for abuse and hashcash info.
Re: does it matter whether References headers are folded?
Author: Cyberiade.it Anonymous Remailer
Date: Tue, 26 Sep 2006 22:46
Date: Tue, 26 Sep 2006 22:46
32 lines
2426 bytes
2426 bytes
In article <6c13d0a1e0c56fe5d773b21132cb038b@remailer.cyberiade.it> Cyberiade.it Anonymous Remailer <anonymous@remailer.cyberiade.it> wrote: > > In article <81AJ2EOY38985.790787037@anonymous.poster> > BiKiKii <bikikii-admin@example.com> wrote: > > > > > > Please send test messages to BiKiKii M2N which have folded Ref Header > > need raw data to do some fix of routine > > > > BiKiKii > > Sure. This message should meet your request. Using QuickSilver, the > folded References for this very outgoing message are exactly > > References: <2c0c58bebd78da6b816987b210060211@dizum.com> > <1K0ORU6738936.6401388889@anonymous.poster> > <B3N9Q44T38985.635787037@anonymous.poster> > <81AJ2EOY38985.790787037@anonymous.poster> > > We shall see if this makes a liar out of me. Damn, it did. Now I'll just risk pissing everybody off and do it again. References: <2c0c58bebd78da6b816987b210060211@dizum.com> <1K0ORU6738936.6401388889@anonymous.poster> <B3N9Q44T38985.635787037@anonymous.poster> <81AJ2EOY38985.790787037@anonymous.poster> <6c13d0a1e0c56fe5d773b21132cb038b@remailer.cyberiade.it>
Re: does it matter whether References headers are folded?
Author: Curt Welch
Date: Wed, 27 Sep 2006 01:04
Date: Wed, 27 Sep 2006 01:04
39 lines
3058 bytes
3058 bytes
Cyberiade.it Anonymous Remailer <anonymous@remailer.cyberiade.it> wrote: > In article <6c13d0a1e0c56fe5d773b21132cb038b@remailer.cyberiade.it> > Cyberiade.it Anonymous Remailer <anonymous@remailer.cyberiade.it> wrote: > > > > In article <81AJ2EOY38985.790787037@anonymous.poster> > > BiKiKii <bikikii-admin@example.com> wrote: > > > > > > > > > Please send test messages to BiKiKii M2N which have folded Ref Header > > > need raw data to do some fix of routine > > > > > > BiKiKii > > > > Sure. This message should meet your request. Using QuickSilver, the > > folded References for this very outgoing message are exactly > > > > References: <2c0c58bebd78da6b816987b210060211@dizum.com> > > <1K0ORU6738936.6401388889@anonymous.poster> > > <B3N9Q44T38985.635787037@anonymous.poster> > > <81AJ2EOY38985.790787037@anonymous.poster> > > > > We shall see if this makes a liar out of me. > > Damn, it did. > > Now I'll just risk pissing everybody off and do it again. > > References: <2c0c58bebd78da6b816987b210060211@dizum.com> > <1K0ORU6738936.6401388889@anonymous.poster> > <B3N9Q44T38985.635787037@anonymous.poster> > <81AJ2EOY38985.790787037@anonymous.poster> > <6c13d0a1e0c56fe5d773b21132cb038b@remailer.cyberiade.it> None of your 3 messages had folded References: headers. Looks like something in your software is unfolding them. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com http://NewsReader.Com/
Re: does it matter whether References headers are folded?
Author: BiKiKii
Date: Wed, 27 Sep 2006 01:48
Date: Wed, 27 Sep 2006 01:48
30 lines
2247 bytes
2247 bytes
Curt Welch wrote in news:20060926210442.685$l3@newsreader.com: >> Now I'll just risk pissing everybody off and do it again. >> >> References: <2c0c58bebd78da6b816987b210060211@dizum.com> >> <1K0ORU6738936.6401388889@anonymous.poster> >> <B3N9Q44T38985.635787037@anonymous.poster> >> <81AJ2EOY38985.790787037@anonymous.poster> >> <6c13d0a1e0c56fe5d773b21132cb038b@remailer.cyberiade.it> > > None of your 3 messages had folded References: headers. Looks like > something in your software is unfolding them. > How do you make the fold(for tests), manually? Space or Tab for delimter? If manually and space, try Tab -- you know... References: <mid1>[CRLF] [TAB]<mid2>[CRLF] [TAB]<mid3>[CRLF] Headers are to be in some logfile on server for colection of raw data. Did past BiKiKii M2N fold? Example? If folds, we will attempt to implement some fix.
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