lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] nntp space in from header is replaced by LF


From: Thomas Dickey
Subject: Re: [Lynx-dev] nntp space in from header is replaced by LF
Date: Thu, 8 Feb 2024 03:41:08 -0500

On Wed, Feb 07, 2024 at 11:07:04AM +0100, Marco Moock wrote:
> Hello!
> 
> lynx replaces SPACE with LF in some headers.
> 
> lynx -source 'nntp://news.i2pn2.org/<upvk6u$1fsjq$1@solani.org>' |grep From 
> -A1 |xxd
> 
> 4672 6f6d 3a0a
>           ^^
> 
> printf '%s\r\n' 'article <upvk6u$1fsjq$1@solani.org>' quit . | nc 
> news.i2pn2.org 119 | grep From: | xxd
> 
> This shows 4672 6f6d 3a20
>                      ^^
> The data from the server includes the SP, but not LF (verified in
> Wireshark).
> 
> Is that behavior intended?

probably not.  running this example with the trace shows the returned header
as a space:

...HTDoRead returns 874 (0 seconds)
B Path: 
i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
B From: Marco Moock <mm+solani@dorfdsl.de>
B Newsgroups: de.test
B Subject: test
B Date: Wed, 7 Feb 2024 10:57:50 +0100
B Message-ID: <upvk6u$1fsjq$1@solani.org>
B MIME-Version: 1.0
B Content-Type: text/plain; charset=UTF-8
B Content-Transfer-Encoding: quoted-printable
B Injection-Date: Wed, 7 Feb 2024 09:57:50 -0000 (UTC)
B Injection-Info: solani.org;
B       logging-data="1569402"; mail-complaints-to="abuse@news.solani.org"
B Cancel-Lock: sha1:aR1bpUffIkWc32IHAAhvkqG7nGM=
B X-User-ID: 
eJwVycERwDAIA7CZUmP7GIdQsv8ITfUVoaV2iAoeHoNVytNvcia8ueB7A1msBNGof+aJ9P4AFoIQvg==
B X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu)
B Xref: i2pn2.org de.test:1471569
B 
B --=20
B Gru=C3=9F
B Marco
B 
B Spam und Werbung bitte an ichschickereklame@cartoonies.org
B 
B .

(I'll take a look to see if it's a simple fix when I work on lynx next -
 at the moment am working on xterm)

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]