🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87523

Re: Multiple occurences of header fields

#87523
From: Michael Bäuerle
Date: Mon, 05 Sep 2016 12:38
29 lines
2135 bytes
Adam H. Kerman wrote:
>Julien <iulius@nom-de-mon-site.com.invalid> wrote:
>>
>>Section 2 of RFC 2047 gives the following rationale for this limitation:
>>
>>   An 'encoded-word' may not be more than 75 characters long, including
>>   'charset', 'encoding', 'encoded-text', and delimiters.  If it is
>>   desirable to encode more text than will fit in an 'encoded-word' of
>>   75 characters, multiple 'encoded-word's (separated by CRLF SPACE) may
>>   be used.
>
>So a line break in the middle of the encoded word is thought to interfere
>with decoding?

Yes. If an 'encoded-word' must be split to multiple lines, two
independent 'encoded-word's must be used instead.

Examples that decode to the same content "[...] TestTestTest [...]":

[...] =?US-ASCII?Q?TestTestTest?= [...]

[...] =?US-ASCII?Q?TestTest?=
 =?US-ASCII?Q?Test?= [...]

[...] =?US-ASCII?Q?TestTest?= =?US-ASCII?Q?Test?= [...]

Whitespace between 'encoded-word' tokens is semantically ignored.

Technical Details
Message-ID: <AABXzWcyD2AAAAeu.A1.flnews@WStation5.stz-e.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <2116899503.484444288.248931.dunno-dunno.dunno@news.mixmin.net> <ni2afm$96b$1@news.trigofacile.com> <nqhfo8$nvl$1@news.albasani.net> <nqhtcb$8h7$1@news.trigofacile.com> <nqi262$oj3$1@news.albasani.net>

Show Full Headers
Complete Article Headers
Message-ID: <AABXzWcyD2AAAAeu.A1.flnews@WStation5.stz-e.de>
Subject: Re: Multiple occurences of header fields
Date: Mon, 5 Sep 2016 14:38:10 +0200
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
References: <2116899503.484444288.248931.dunno-dunno.dunno@news.mixmin.net> <ni2afm$96b$1@news.trigofacile.com> <nqhfo8$nvl$1@news.albasani.net> <nqhtcb$8h7$1@news.trigofacile.com> <nqi262$oj3$1@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Lines: 27
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net Yl61hvZfgOTG2Mpr22nRSAVR9xaxGjLTjDaiNt+a7s5c3tVeen
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:HjrI8XzJsif8HjYj3g2fXypU7k4= sha1:ydTfKGx1y5Tm1164Ddl6Qa2zYxA=
Injection-Date: Mon, 5 Sep 2016 12:38:10 -0000
User-Agent: flnews/0.14pre54 (for NetBSD)
X-Received-Bytes: 1991
X-Received-Body-CRC: 3182589208