🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262098

Jonas Eklundh should learn what "(Comments)" are ( in NNTP headers ).

#262098
From: Jeff-Relf.Me
Date: Sun, 04 Jun 2017 17:56
24 lines
2279 bytes
Mr. DFS replied to Jonas Eklundh:
> > <https://tools.ietf.org/html/rfc2822#section-3.3>
> > No room for city name or any other data, I'm afraid.
> > 
> > It's like saying the standard for the References header
> > doesn't specify what can and can not come after the list of
> > references, so why not add your car model there? :-D
> 
> Yeah, it's bogus.
> But why are you failing only some dates that don't adhere to the 'standard'?
> Sat,  2 Apr 2016 20:56:38 +0200 (CEST)  should fail in your code, too.

The "(Seattle)" in my "Date:" line is a prefectly _legal comment.
Jonas Eklundh should learn what "(Comments)" are ( in NNTP headers )
and remove them before passing a "Date:" line to php's strtotime().

Quoting rfc5322  " 3.2.2. Folding White Space and Comments ":

  Strings of characters enclosed in parentheses are considered comments
        [...]
  A comment is normally used in a structured field body to provide some
  human-readable informational text.

     https://tools.ietf.org/html/rfc5322#section-3.2.2
Technical Details
Message-ID: <Jeff-Relf.Me@Jun.4--10.56am.Seattle.2017>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail
References: <sandman-5582ca15f62108f770b684b23eee8542@individual.net> <og513l$ttg$7@dont-email.me> <sandman-cff0e08d9e0eb4f37a3b6dcfdc5b73a4@individual.net> <og6le1$io6$1@dont-email.me> <sandman-7060d898700733125cd88b8ac2e40be1@individual.net> <oh10jk$gdt$3@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@Jun.4--10.56am.Seattle.2017>
Subject: Jonas Eklundh should learn what "(Comments)" are ( in NNTP headers ).
Date: Sun, 04 Jun 2017 17:56:44 +0000
From: Jeff-Relf.Me @.
References: <sandman-5582ca15f62108f770b684b23eee8542@individual.net> <og513l$ttg$7@dont-email.me> <sandman-cff0e08d9e0eb4f37a3b6dcfdc5b73a4@individual.net> <og6le1$io6$1@dont-email.me> <sandman-7060d898700733125cd88b8ac2e40be1@individual.net> <oh10jk$gdt$3@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail
Newsgroups: comp.os.linux.advocacy,news.software.readers
Organization: Glorb Internet Services, http://www.glorb.com
Lines: 24
NNTP-Posting-Host: /zlDkqjrFG1Uj/denlv3LA.925.posting.glorb.com
Content-Type: Text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@glorb.com
NNTP-Posting-Date: Sun, 4 Jun 2017 17:56:45 +0000 (UTC)
User-Agent: Jeff-Relf.Me/X.HTM
X-Notice: Scanned by Mr. Bill
X-Received-Body-CRC: 714486808
X-Received-Bytes: 2226