🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Kim DeVaughn Wed, 07 Oct 1998 00:00
dot-escaping articles (also a suggestion to GNKSA folk)
#43578
Author: Kim DeVaughn
Date: Wed, 07 Oct 1998 00:00
30 lines
1775 bytes
Due to the installation of new news server s/w (diablo) here at Best, I've
found a number of newsreaders that don't properly do leading-dot escaping
on the articles they post.

This can, of course, lead to unexpected truncation of a posted article,
when there is a dot-only-line (which within the body of an article, should
have been escaped to a ".." before being handed off to the nntp server).

So far, the readers failing a simple test of this protocol, are:

 trn (v3.6)
 trn4-testNN
 tin (laura)
 knews (v?)
 NewsXpress (v?)

I've no data yet on our other online newsreader capable apps (nn, gnus
lynx, and pine), nor on any other PC/Mac'ish stuff.

Anyway, the point of this posting, is to suggest to newsreader developers,
as well as to the GNKSA folks, that they test their s/w against this part
of the nntp standards, and quit relying on inn/whatever to overlook/fix
this deviation from the standards.

/kim

=======================================================================
"To the moon, Alice!"  --Ralph Kramden [as portrayed by Jackie Gleason]

Re: dot-escaping articles (also a suggestion to GNKSA folk)
#43441
Author: Matt Dillon
Date: Wed, 07 Oct 1998 00:00
11 lines
1051 bytes
    I think this may have stemmed from a bug in the Diablo reader code,
    which I have now fixed.  trn has always escaped articles properly :-)

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: dot-escaping articles (also a suggestion to GNKSA folk)
#43571
Author: Kim DeVaughn
Date: Wed, 07 Oct 1998 00:00
45 lines
2429 bytes
In article <1dgk181.m2pvf1w46ozqN@cats.xs4all.nl>, JS <js@xs4all.nl> wrote:
|
| Kim DeVaughn <kimdv@best.com>:
| >
| > Anyway, the point of this posting, is to suggest to newsreader developers,
| > as well as to the GNKSA folks, that they test their s/w against this part
| > of the nntp standards, and quit relying on inn/whatever to overlook/fix
| > this deviation from the standards.
|
| I'll check 1036, son-of-1036 and grandson-of-1036 to make sure it's a
| problem with violating clients (rather than non-conformant server
| software).

It kind of depends on where you put something like "inews", which is what
trn (and other readers) hand their articles to be posted off to.

It isn't really server s/w, and I can certainly imagine that there are
newsreaders that interface directly to the nntp server, rather than use
something like inews to do the interfacing.

It is a fact that the server is expecting properly dot-escaped articles
to be handed to it.


| If it is, this does require some attention on the part of newsreader
| authors, and I'll consider bringing this up in the context of the GNKSA.

Good.  A test case is pretty trivial, in any case.


All that said, it turns out that the problem I was seeing, was really a
bug in the new server code.  Sigh.

I've already promised on the trn4-workers list, to eat cold mushy broccoli
tonight, for making a bug report without adequately isolating its cause.

Still, my suggestion for GNKSA to add a test case for this to the check-
list, remains valid, IMO.

/kim

=====================================================
"Always be quick, seldom be certain."   --Hari Seldon

Re: dot-escaping articles (also a suggestion to GNKSA folk)
#43444
Author: melancholeric
Date: Thu, 08 Oct 1998 00:00
16 lines
1338 bytes
In article <6vifsv$6t6$1@shell.rt66.com>,
Mike Castle <dalgoda@news.rt66.com> wrote:
>In article <6vhjol$os8$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
>>    I think this may have stemmed from a bug in the Diablo reader code,
>>    which I have now fixed.  trn has always escaped articles properly :-)
>You mean "inews", right?  ;->

Actually, i'm running strn 0.9.2, based on trn 3.4.1, and the
newsreader itself improperly escapes lines which start with dots.

rone
-- 
You are neurotic and depressed
It doesn't mean that you are sad

Re: dot-escaping articles (also a suggestion to GNKSA folk)
#43448
Author: Mike Castle
Date: Thu, 08 Oct 1998 00:00
9 lines
943 bytes
In article <6vhjol$os8$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
>    I think this may have stemmed from a bug in the Diablo reader code,
>    which I have now fixed.  trn has always escaped articles properly :-)

You mean "inews", right?  ;->

mrc

Re: dot-escaping articles (also a suggestion to GNKSA folk)
#43451
Author: Andrew Gierth
Date: Thu, 08 Oct 1998 00:00
41 lines
2078 bytes
>>>>> "Urs" == Urs Jan�en <urs@tin.org> writes:

 >> This can, of course, lead to unexpected truncation of a posted
 >> article, when there is a dot-only-line (which within the body of
 >> an article, should have been escaped to a ".." before being handed
 >> off to the nntp server).

 Urs> AFAIK that's not the job of a newsreader (tin, trn, knews, ...)
 Urs> but the job of the software which injects the article to the
 Urs> server (i.e.  nnrpd

Nope - since you are talking NNTP to nnrpd, the escaping must already
have been performed at that point.

 Urs> which transmission?

 Urs> 	reader -> injecting agent (nnrpd)

yes

 Urs> or
 Urs> 	injecting agent (nnrpd) -> server (innd)

too late

 Urs> the big questions is - do (nearly) all the readers viaolate the
 Urs> standard and most servers silenty fix this, or are there a few
 Urs> 'injecting agents' (you saw this with diabolos reader support,
 Urs> didn't you) fail to take care of this...

Actually there are no servers that "silently fix this" in the case of
lines containing only a single '.' - because that would break the
protocol. INN certainly does not do so even if there is other text on
the line.

Most reader software does the right thing with ".".

-- 
Andrew.

Re: dot-escaping articles (also a suggestion to GNKSA folk)
#43456
Author: Kim DeVaughn
Date: Thu, 08 Oct 1998 00:00
16 lines
1331 bytes
In article <6vhedp$s5d$1@test-news.rz.uni-karlsruhe.de>,
	Urs Jan�en  <urs@tin.org> wrote:
|
| I should have looked into 'my' source (inews.c/submit_inews()) before
| posting and not blind trust Kim DeVaughns info that tin (and other
| newsreaders) won't do this...

Or perhaps you should have read my earlier followup, where I pointed out
that the supposed bug in trn/tin/etc had been traced to a bug in diablo.

/kim

===================================================
"Send lawyers, guns, and money ..."  --Warren Zevon

Re: dot-escaping articles (also a suggestion to GNKSA folk)
#43587
Author: JS
Date: Thu, 08 Oct 1998 00:00
25 lines
1689 bytes
Kim DeVaughn <kimdv@best.com>:

[lines containing only a single dot causes problems]


> Anyway, the point of this posting, is to suggest to newsreader developers,
> as well as to the GNKSA folks, that they test their s/w against this part
> of the nntp standards, and quit relying on inn/whatever to overlook/fix
> this deviation from the standards.

I'll check 1036, son-of-1036 and grandson-of-1036 to make sure it's a
problem with violating clients (rather than non-conformant server
software).

If it is, this does require some attention on the part of newsreader
authors, and I'll consider bringing this up in the context of the GNKSA.


-- J$ (a .sig!  a .sig!  my kingdom for a .sig!)
..
-- 
dash dash space
this is my .sig                                         it's not so .big

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