🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Dale Wed, 27 Jul 2016 20:31
Pan 0.139 headers problem
#260771
Author: Dale
Date: Wed, 27 Jul 2016 20:31
15 lines
1338 bytes
Pan 0.139 Sexual Chocolate (GIT bf56508 git://git.gnome.org/pan2; x86_64-pc-linux-gnu)

on/from

Debian GNU/Linux 8 (jessie) 64-bit

seems to line wrap Newsgroups/Follow-Ups headers at 74 chars while word wrapping References headers longer than 80 chars

is this a Good Net Keeping Seal of Approval feature or can I change this

https://js.home.xs4all.nl/gnksa/Evaluations/pan-0.9.3.txt doesn't seem to say what I am doing is outside of the Seal

past versions allowed me to crosspost after a dialog of Net Keeping

de-selecting wrap text in the post's edit menu doesn't change it
Re: Pan 0.139 headers problem
#260777
Author: Michael Bäuerle
Date: Sat, 30 Jul 2016 09:10
33 lines
1978 bytes
Dale wrote:
> 
> Pan 0.139 Sexual Chocolate (GIT bf56508 git://git.gnome.org/pan2; x86_64-pc-linux-gnu)
> 
> on/from
> 
> Debian GNU/Linux 8 (jessie) 64-bit
> 
> seems to line wrap Newsgroups/Follow-Ups headers at 74 chars while
> word wrapping References headers longer than 80 chars
> 
> is this a Good Net Keeping Seal of Approval feature or can I change
> this
> 
> https://js.home.xs4all.nl/gnksa/Evaluations/pan-0.9.3.txt
> 
> doesn't seem to say what I am doing is outside of the Seal [...]

The GNKSA 2.0 rules can be found here:
<http://www.gnksa.org/gnksa.txt>

Rule 14 (line length) only specify a warning, if the lines in the
article body are longer than 80 characters.

Sending header fields completely unfolded should IMHO be conformant.

Note that for the "References" header field RFC5537 [1] defines a length
limit of 998 characters. Therefore folding is never required for this
header field (if the NNTP protocol is used for transport).


________________
[1] <https://tools.ietf.org/html/rfc5537#section-3.4.4>
Re: Pan 0.139 headers problem
#260776
Author: dale
Date: Mon, 01 Aug 2016 03:51
41 lines
2188 bytes
On 7/30/2016 5:10 AM, Michael Bäuerle wrote:
> Dale wrote:
>>
>> Pan 0.139 Sexual Chocolate (GIT bf56508 git://git.gnome.org/pan2; x86_64-pc-linux-gnu)
>>
>> on/from
>>
>> Debian GNU/Linux 8 (jessie) 64-bit
>>
>> seems to line wrap Newsgroups/Follow-Ups headers at 74 chars while
>> word wrapping References headers longer than 80 chars
>>
>> is this a Good Net Keeping Seal of Approval feature or can I change
>> this
>>
>> https://js.home.xs4all.nl/gnksa/Evaluations/pan-0.9.3.txt
>>
>> doesn't seem to say what I am doing is outside of the Seal [...]
>
> The GNKSA 2.0 rules can be found here:
> <http://www.gnksa.org/gnksa.txt>
>
> Rule 14 (line length) only specify a warning, if the lines in the
> article body are longer than 80 characters.
>
> Sending header fields completely unfolded should IMHO be conformant.
>
> Note that for the "References" header field RFC5537 [1] defines a length
> limit of 998 characters. Therefore folding is never required for this
> header field (if the NNTP protocol is used for transport).
>
>
> ________________
> [1] <https://tools.ietf.org/html/rfc5537#section-3.4.4>
>

thanks, going to have to look into this

-- 
dale
http://www.dalekelly.org
Re: Pan 0.139 headers problem
#260778
Author: Mike Easter
Date: Mon, 01 Aug 2016 18:23
15 lines
1697 bytes
Michael Bäuerle wrote:
> Note that for the "References" header field RFC5537 [1] defines a length
> limit of 998 characters. Therefore folding is never required for this
> header field (if the NNTP protocol is used for transport).

I'm not following what you are saying 'therefore folding is never required'.

The references line grows and gets folded with appropriate folding 
whitespace all the time.  Some agents have had a reputation for not 
handling the growth limit appropriately.  The 5537 says that if the 998 
char is reached, the references can be trimmed any old whichaway except 
that the first and last two references must be retained.

-- 
Mike Easter
Re: Pan 0.139 headers problem
#260779
Author: Paul Sture
Date: Mon, 01 Aug 2016 18:48
25 lines
2288 bytes
On 2016-08-01, Mike Easter <MikeE@ster.invalid> wrote:
> Michael Bäuerle wrote:
>> Note that for the "References" header field RFC5537 [1] defines a length
>> limit of 998 characters. Therefore folding is never required for this
>> header field (if the NNTP protocol is used for transport).
>
> I'm not following what you are saying 'therefore folding is never required'.
>
> The references line grows and gets folded with appropriate folding 
> whitespace all the time.  Some agents have had a reputation for not 
> handling the growth limit appropriately.  The 5537 says that if the 998 
> char is reached, the references can be trimmed any old whichaway except 
> that the first and last two references must be retained.

Sorry to be vague, but it's been a while since I ran into this.

I came across this with Pan several years ago.  It was wrapping the
references, someone complained that their newsreader didn't like
that, and someone else pointed out that wrapping the references
was legal according to some RFC or other.


-- 
Nothing stinks like a pile of unpublished writing.
                                   -- Sylvia Plath
Re: Pan 0.139 headers problem
#260780
Author: Mike Easter
Date: Mon, 01 Aug 2016 19:14
35 lines
2584 bytes
Paul Sture wrote:
> Mike Easter wrote:
>> Michael Bäuerle wrote:
>>> Note that for the "References" header field RFC5537 [1] defines a length
>>> limit of 998 characters. Therefore folding is never required for this
>>> header field (if the NNTP protocol is used for transport).
>>
>> I'm not following what you are saying 'therefore folding is never required'.
>>
>> The references line grows and gets folded with appropriate folding
>> whitespace all the time.  Some agents have had a reputation for not
>> handling the growth limit appropriately.  The 5537 says that if the 998
>> char is reached, the references can be trimmed any old whichaway except
>> that the first and last two references must be retained.
>
> Sorry to be vague, but it's been a while since I ran into this.
>
> I came across this with Pan several years ago.  It was wrapping the
> references, someone complained that their newsreader didn't like
> that, and someone else pointed out that wrapping the references
> was legal according to some RFC or other.
>
I see a discussion in 2014 which started in another group and moved to 
this one about/alleging Pan wrapping badly, but I don't know what it 
does wrong.  That is, I don't see crystal-clear confirmation.

I remember OE would allow the References to grow to excessive lengths 
and then not be able to post because the server wouldn't allow it.  This 
required the OE wrangler to need to manually trim the References line 
for posting.



-- 
Mike Easter
Re: Pan 0.139 headers problem
#260786
Author: Michael Bäuerle
Date: Tue, 02 Aug 2016 09:52
40 lines
2790 bytes
Mike Easter wrote:
> Michael Bäuerle wrote:
> > 
> > Note that for the "References" header field RFC5537 [1] defines a length
> > limit of 998 characters. Therefore folding is never required for this
> > header field (if the NNTP protocol is used for transport).
> 
> I'm not following what you are saying 'therefore folding is never required'.
> 
> The references line grows and gets folded with appropriate folding 
> whitespace all the time.  Some agents have had a reputation for not 
> handling the growth limit appropriately.

Then they violate RFC5537. The statement above is only true for the
compliant behaviour.

> The 5537 says that if the 998 
> char is reached, the references can be trimmed any old whichaway except 
> that the first and last two references must be retained.

The wording is (quoted from [1]):
| 
| If the resulting References header field would, after unfolding,
| exceed 998 characters in length (including its field name but not the
| final CRLF), it MUST be trimmed (and otherwise MAY be trimmed).
| Trimming means removing any number of message identifiers from its
| content, except that the first message identifier and the last two
| MUST NOT be removed.

A compliant newsreader is not allowed to produce articles with
References header fields that are longer than 998 characters.

And this is exactly the length limit for single header field
lines from RFC5536 [2]. Therefore folding is allowed, but not
required.


_______________________
[1] <https://tools.ietf.org/html/rfc5537#section-3.4.4>
[2] <https://tools.ietf.org/html/rfc5536#section-2.2>
Re: Pan 0.139 headers problem
#260787
Author: Michael Bäuerle
Date: Tue, 02 Aug 2016 09:55
21 lines
2106 bytes
Mike Easter wrote:
> Paul Sture wrote:
> > 
> > [...]
> > I came across this with Pan several years ago.  It was wrapping the
> > references, someone complained that their newsreader didn't like
> > that, and someone else pointed out that wrapping the references
> > was legal according to some RFC or other.
> 
> I see a discussion in 2014 which started in another group and moved to 
> this one about/alleging Pan wrapping badly, but I don't know what it 
> does wrong.  That is, I don't see crystal-clear confirmation.
> 
> I remember OE would allow the References to grow to excessive lengths 
> and then not be able to post because the server wouldn't allow it.  
> This required the OE wrangler to need to manually trim the References 
> line for posting.

KNode has the same problem. I have written a patch for it some weeks ago
that trims the references according to RFC5537.
I post it in a different article because it is not Pan related.
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