Re: nntp space in from header is replaced by LF

Thomas Dickey <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
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/<[email protected]>' |grep From -A1 |xxd
> 
> 4672 6f6d 3a0a
> 	    ^^
> 
> printf '%s\r\n' 'article <[email protected]>' 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 <[email protected]>
B Newsgroups: de.test
B Subject: test
B Date: Wed, 7 Feb 2024 10:57:50 +0100
B Message-ID: <[email protected]>
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="[email protected]"
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 [email protected]
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 <[email protected]>
https://invisible-island.net
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmXEk6AACgkQzCr0RyFn
vgPWXgwAv+EMoZS5Ief+eJ8wEEt0WO9anCwB4sU70AFET3P2RV4BiIDcIMtjEmkG
jKcHT+2H7thaoWQBMcHN7GRFRkjkI8O5HgXIr8S3dEbj8ZjJaeWqKooJa+ZKNmeY
Y597+DXue36jkgrPlccoGA1lsXtkQ625in1IcDLtmK4bi+phlsIPOuSVffOGwlVq
7fIzL3B56wtNUPLTuNm30yNcnIwErRpx1JggKdVNhg/AZW8y1H+dzNTKIEFCIMh0
7sVNxkjURFxSEB7YjUUsf9XeXnVD1RQw/jMVgDB10ENWxrQg2UYdflSx4T2fTk1W
Xdu4SsHRCH9J7cNRN8ENGQ6mkU5ueOeqtPWrhH1Ro4I3sJyuB8zihPkEHecGWlfm
F3Ob7Uv/I3h//PGruDbfY/sOmCwNpMPosGzcSiFlrhI02VpOgkIK+kRtd3HRFSpc
+MpDdWFUNkwKPk1HT0aIyQvuPqMDvldvXkWIfYAjFBkWKHILuMsBlg+jDndYVkrP
Lvz1FhLQ
=Ye/5
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.