🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #53237

Re: [XNews] folded header lines

#53237
From: J. Moreno
Date: Tue, 19 Oct 1999 00:00
38 lines
2117 bytes
Luu Tran <luutran@geocities_.com.invalid> wrote:

> cbiedl@gmx.de (Christoph Biedl) wrote in 
> <h90FOMmLCl9GeUrGiu1cIPdYXHu2@577.user.cis.dfn.de>:
> 
> >When displaying the header, XNews 2.09.03 merges all the lines back into
> >one - and forgets to insert a space. Therefore the example above will be
> >shown as
> >|X-Test: foobar
> >Has this already been corrected?
> >
> 
> 
> Hmm, I misread the RFC, though it is a bit confusing.  Quoting 822:
> 
> <<
> Unfolding  is  accomplished  by
>         regarding   CRLF   immediately  followed  by  a  LWSP-char  as
>         equivalent to the LWSP-char.
> >>
> 
> So yes, it seems I do need to put a space (or hTAB?) there.
> 
> Now a question: should all leading spaces be unfolded into a single 
> space?  The examples seem to say so, but it's hard to tell: 

The current rules for folding is that you ADD a CRLF BEFORE the LWSP and
that to "unfold" you REMOVE the CRLF -- no more and no less.

But it has in the past been somewhat common to "fold" in an
aesthetically good way.  But I'd suggest just doing what the current
rules say, not what has been done in the past -- the old way has a
problem of how to maintain multiple spaces.

-- 
John Moreno

Technical Details
Message-ID: <1dzxb4e.k83ya3hfgxgoN%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!not-for-mail
References: <h90FOMmLCl9GeUrGiu1cIPdYXHu2@577.user.cis.dfn.de> <8E645672Eluutrangeocities@209.86.193.50>

Show Full Headers
Complete Article Headers
Message-ID: <1dzxb4e.k83ya3hfgxgoN%planb@newsreaders.com>
Subject: Re: [XNews] folded header lines
Date: Tue, 19 Oct 1999 00:00:00 +0000
From: planb@newsreaders.com (J. Moreno)
References: <h90FOMmLCl9GeUrGiu1cIPdYXHu2@577.user.cis.dfn.de> <8E645672Eluutrangeocities@209.86.193.50>
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!not-for-mail
X-Deja-AN: 538002179
Mail-Copies-To: nobody
X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1>
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h
Organization: NetNews BOFH wannabe
User-Agent: MacSOUP/2.4.2
Newsgroups: news.software.readers