🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88639

Re: INN/inews behavior on \r\n

#88639
From: Russ Allbery
Date: Fri, 26 Feb 2021 22:50
20 lines
1683 bytes
John Levine <johnl@taugh.com> writes:
> Russ Allbery  <eagle@eyrie.org> wrote:

>> It may make sense to check if the first line of the input ends in \r\n
>> and, if so, call wire_to_native on the input buffer before processing
>> it.  inews isn't really designed to accept arbitrary line endings, but
>> it looks easy enough to make it compatible with CRLF line endings.

> On the other hand, INN is 30 years old and I don't recall this
> particular question coming up before, so perhaps it doesn't need
> solving.

The error message being extremely unhelpful is a fair point, though, and
probably easier to fix.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <878s7ah2ad.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <s1715o$e99$1@dont-email.me> <s17ahp$2a8u$1@gal.iecc.com> <s1bm5h$dp7$1@dont-email.me> <87im6eh7vb.fsf@hope.eyrie.org> <s1btqv$jq4$1@gal.iecc.com>

Show Full Headers
Complete Article Headers
Message-ID: <878s7ah2ad.fsf@hope.eyrie.org>
Subject: Re: INN/inews behavior on \r\n
Date: Fri, 26 Feb 2021 14:50:18 -0800
From: Russ Allbery <eagle@eyrie.org>
References: <s1715o$e99$1@dont-email.me> <s17ahp$2a8u$1@gal.iecc.com> <s1bm5h$dp7$1@dont-email.me> <87im6eh7vb.fsf@hope.eyrie.org> <s1btqv$jq4$1@gal.iecc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="1044"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:1KPEIK429Io4TSu6SqynyXF52aI=