๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #229579

How to unfold a field in a header, including MIME headers.

#229579
From: Jeffโ–ฒRelf
Date: Sun, 01 Feb 2009 22:36
27 lines
2159 bytes
โ€œ ื‘ืขืœ ื–ื‘ื•ื‘ โ€ means โ€œ Beelzebub โ€, the Philistine.

I thought Google Groups preserved whitespace in titles,
instead of consolidating it as HTML does;
I think they did, and recently, but no longer.

I fixed an unfolding bug revealed by the title of your post:
  news:slrngoc2rl.aki.pjr@pjr.motzarella.org

X.EXE properly unfolds the titles of these posts:  
  news:67646165-11e4-48b6-9838-6fd4601b4aa8@n33g2000pri.googlegroups.com
  news:xn0g5f0fa3d0mcz006@newszilla.xs4all.nl
  news:bZCdnd1GN4YLR-vUnZ2dnUVZ_oOdnZ2d@posted.localnet

The unfolding rule is to completely ignore whitespace before
the โ€œ second โ€ ( indented ) line but ..
add a space between the joined lines when both:

  A. It's not true that:
       the first line ends in an encoded word
       and the last line starts with an encoded word.
  and:
  B. the first line doesn't end in whitespace.

Note that, like encoded words themselves,
this unfolding rule applies to MIME headers inside the body,
not just the header of the post.
Technical Details
Message-ID: <Jeff_Relf@Seattle.2009_Feb.1|2.36pm|o>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Jeff_Relf@Seattle.2009_Jan.30|5.16am|u> <slrngo9mn0.681.pjr@pjr.motzarella.org> <1hgufnawtl3c4.dlg@sneupie.eingang.org> <slrngobket.aki.pjr@pjr.motzarella.org> <Jeff_Relf@Seattle.2009_Feb.1|9.25am|c> <slrngoc2rl.aki.pjr@pjr.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <Jeff_Relf@Seattle.2009_Feb.1|2.36pm|o>
Subject: How to unfold a field in a header, including MIME headers.
Date: Sun, 01 Feb 2009 22:36:49 +0000
From: Jeffโ–ฒRelf <Jeff_Relf@Seattle.Test>
References: <Jeff_Relf@Seattle.2009_Jan.30|5.16am|u> <slrngo9mn0.681.pjr@pjr.motzarella.org> <1hgufnawtl3c4.dlg@sneupie.eingang.org> <slrngobket.aki.pjr@pjr.motzarella.org> <Jeff_Relf@Seattle.2009_Feb.1|9.25am|c> <slrngoc2rl.aki.pjr@pjr.motzarella.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 27
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net mUUKjS+sL9l5OTgXjxMKBgOE9cFmJ+TVFuJWWMPT259wI/Iq0w
Cancel-Lock: sha1:0oFOvWARW0p48dRe/dXvsBzoylQ=
User-Agent: JeffRelf.F-M.FM/X.ZIP