🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #82355

Re: [XNews] BUG: Can't decode messages with 0x0d 0x0d linefeeds

#82355
From: Curt Welch
Date: Thu, 02 Aug 2001 16:34
50 lines
3573 bytes
planb@newsreaders.com (J.B. Moreno) wrote:
> Ilia <iliaone@hotmail.com> wrote:
>
> > planb@newsreaders.com (J.B. Moreno) wrote in
> >
> > > OK, it's a transit bug then -- it'd still be better if Newscene fixed
> > > the problem instead of Luu; that way it's fixed for everyone and not
> > > just those that use Xnews and upgrade.
> >
> > I've written Newscene to make them fix it. But it may happen to other
> > people on other servers, at another time. And it seems like a simple
> > thing: to treat 0x0d 0x0d as a regular linefeed?!
>
> And if someone intends it to be something else?
>
> There's a discussion in news.software.nntp about using a mainly 8 bit
> format for binary messages, it's possible that someone could implement
> it without escaping LF's

0x0d is a Carrage Return (CR), not a Line Feed.  Please stop calling
it a "linefeed".  CR CR LF is simply an extra CR added at the end of
the line.  If the newscene servers are doing that, they are very broken
and need to be fixed.

There are many people posting spam to usenet that ends with up a CR CR LF
at the end of every line in the body.  This happens because they
take PC text files and post them with a Unix posting tool which translates
LF into CR LF.  So the CR LF in the file get turned into CR CR LF.  Or they
are just using posting software that is very buggy.  Here's an example of
such an article:

   Message-Id: <FDda7.14483$hv2.1778566@nntp3.onemain.com>

Most newsreaders however will ignore those extra CRs at the ends of lines
when they display text.  You won't even be able to see them.  It's not that
wrong to have xnews ignore an extra CR at the end of a line in the body of
an article.

Ilia however said this was in the headers.  Is that the article Headers
like the Subject and From: you are talking about?

If it's happening there, and only on articles from Newscene then newsscene
has a big problem they need to fix, and xnews really souldn't be patched to
fix something that isn't broken on that side.  CR at the end of a header is
something you don't want to just ignore and pretend it's not there.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20010802123443.762$0C@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <Xns90ED146E1AE30iliaone@63.209.170.206> <1exgs8s.1tfowl33jdbxjN%planb@newsreaders.com> <Xns90F0E16F9D159iliaone@63.209.170.209> <1exgzkx.1doz3rv15cuedqN%planb@newsreaders.com> <Xns90F16909E77DAiliaone@63.209.170.215> <1exidzl.1qeyhw91pxm0xsN%planb@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <20010802123443.762$0C@newsreader.com>
Subject: Re: [XNews] BUG: Can't decode messages with 0x0d 0x0d linefeeds
Date: Thu, 02 Aug 2001 16:34:43 +0000
From: curt@kcwc.com (Curt Welch)
References: <Xns90ED146E1AE30iliaone@63.209.170.206> <1exgs8s.1tfowl33jdbxjN%planb@newsreaders.com> <Xns90F0E16F9D159iliaone@63.209.170.209> <1exgzkx.1doz3rv15cuedqN%planb@newsreaders.com> <Xns90F16909E77DAiliaone@63.209.170.215> <1exidzl.1qeyhw91pxm0xsN%planb@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.readers
X-Trace: NewsReader.Com Eh@8_W3fjic=GDW@CFni12CICTuJBBpuEzfw=YiMCNZe2
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 49