Article View: news.software.readers
Article #229538Re: When unFolding, you SHOULD ignore each line's leading spaces.
From: Peter J Ross
Date: Sat, 31 Jan 2009 23:12
Date: Sat, 31 Jan 2009 23:12
46 lines
2952 bytes
2952 bytes
In news.software.readers on 30 Jan 2009 13:16:55 GMT, Jeffβ²Relf <Jeff_Relf@Seattle.Test> wrote: <...> > β β References: <foo@example.com> > <bar@example.org> > ^^ β > There are two spaces where there should be one. β, you wrote. > > For the β References: β field, > X.EXE simply puts each Message-ID on its own line, > indented with two spaces β because I like the look. You can *display* it backwards for all I care, as long as you don't *post* broken header lines. > You SHOULD unFold header fields the same way Google Groups would. *giggle* > Google Groups and X.EXE get it right; WinMail has some problems, > and ThunderBird actually introduces erroneous whitespace. > > When unFolding, you SHOULD ignore each line's leading spaces. Unsurprisingly, you're wrong. "Unfolding is accomplished by simply removing any CRLF that is immediately followed by WSP." - RFC 2822 "Unfolding is accomplished by regarding CRLF immediately followed by a LWSP-char as equivalent to the LWSP-char." - RFC 822 IOW, only the CRLF is removed. <snip!> I'm not going to debug your ludicrously obfuscated code for you. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Technical Details
Message-ID:
<slrngo9mn0.681.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!feeder.erje.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mailReferences:
<gkduvi$l8a$1@nntp.motzarella.org> <48e0c5799fdfb80d229f0aa0ba6d7b07@pseudo.borked.net> <pan.2009.01.29.09.38.56.268811@emteedee.invalid> <1iubghx.sh0rkwwj2mrpN%snipe@spambin.fsnet.co.uk> <Jeff_Relf@Seattle.2009_Jan.29|10.32am|P> <slrngo44c7.rr5.pjr@pjr.motzarella.org> <Jeff_Relf@Seattle.2009_Jan.30|5.16am|u>Show Full Headers
Complete Article Headers
Message-ID: <slrngo9mn0.681.pjr@pjr.motzarella.org> Subject: Re: When unFolding, you SHOULD ignore each line's leading spaces. Date: Sat, 31 Jan 2009 23:12:32 +0000 From: Peter J Ross <pjr@example.invalid> References: <gkduvi$l8a$1@nntp.motzarella.org> <48e0c5799fdfb80d229f0aa0ba6d7b07@pseudo.borked.net> <pan.2009.01.29.09.38.56.268811@emteedee.invalid> <1iubghx.sh0rkwwj2mrpN%snipe@spambin.fsnet.co.uk> <Jeff_Relf@Seattle.2009_Jan.29|10.32am|P> <slrngo44c7.rr5.pjr@pjr.motzarella.org> <Jeff_Relf@Seattle.2009_Jan.30|5.16am|u> 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!feeder.erje.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 46 Reply-To: Peter J Ross <peadar.ruadh@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.eternal-september.org U2FsdGVkX18bh24jGG1zlNRSnIUibgfzfN/le2xUx55R1e6AcMzKmvkE97Az6MMNp30yCdWAEW5e9erenZKBT6fd3F27fzLiMVrJtjCjwoA3KsGGV5NCSKEpXvYR2q/gnNRoqHwuIHk= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sat, 31 Jan 2009 23:18:06 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/sIuQW0lbb0g/gnz1nKiS+ Cancel-Lock: sha1:9wUDYHMfw2y98NfB18lo82I+X9k= User-Agent: slrn/pre1.0.0-2/mm (Linux)