🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: lugnet.admin.nntp
Article #1

Re: Change in News Display Behavior

#1
From: Todd Lehman
Date: Wed, 07 Oct 2015 21:06
30 lines
2321 bytes
Hi Jerry,

Reporting something here that I think might be a recent bug:

Even when I'm signed in, I'm not seeing the Author field in the headers on any
new posts. On old posts, however, the Author field does show up.

In looking at the raw message ("View Raw Message"), there is an NNTP header
called "X-Real-Life-Name:" that is missing on newer messages.  For example, here
is an older message which does have it:

   http://news.lugnet.com/news/raw.cgi?lugnet.admin.general,14097

and here is a new message which does not have it:

   http://news.lugnet.com/news/raw.cgi?lugnet.events,2673

Likely, this is an issue in the mid-level NNTP injection code, where the web
interface is required to add "X-Real-Life-Name:" to the NNTP message whenever a
signed-in user makes a post, so that later when the post is viewed, the web
interface can examine this header to know the name of the author.

A related issue appears to be that the web interface is not falling back to the
"From:" header when the "X-Real-Life-Name:" header is missing.  When the
"Author:" segment is displayed in the .pml code for viewing a message, it looks
first for the "X-Real-Life-Name:" header and next for the "From:" header, but it
looks like this has inadvertently been broken somehow.  I can help you dig
through the code to fix this if you like.

--Todd
Technical Details
Message-ID: <nvvBy4.6pL@lugnet.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf9.newsdeef.eu!lugnet.com!lugnet
References: <nGMsnx.At3@lugnet.com>

Show Full Headers
Complete Article Headers
Message-ID: <nvvBy4.6pL@lugnet.com>
Subject: Re: Change in News Display Behavior
Date: Wed, 7 Oct 2015 21:06:04 GMT
From: "Todd Lehman" <tsl@tsl.bu.edu>
References: <nGMsnx.At3@lugnet.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf9.newsdeef.eu!lugnet.com!lugnet
Newsgroups: lugnet.admin.general,lugnet.admin.nntp
Content-Type: text/plain; charset=iso-8859-1
Followup-To: lugnet.admin.nntp
X-Authentication: rfFQBzdUuBF2GYMCmVbinxGa
Sender: lugnet@lugnet.com
Content-Transfer-Encoding: 8bit
Organization: LUGNET
X-Nntp-Gateway: http://www.lugnet.com/news/post/
X-Http-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.8.9 (KHTML, like Gecko) Version/7.1.8 Safari/537.85.17
X-Nntp-Posting-Host: userv01.steinbruch.info
X-Http-Remote-Addr: 50.245.151.27