Article View: news.software.nntp
Article #90406Re: [inn] Header folded immediately after header name results in "invalid syntax encountered" posting error
From: Julien ÉLIE
Date: Wed, 07 Jun 2023 06:40
Date: Wed, 07 Jun 2023 06:40
72 lines
4024 bytes
4024 bytes
Hi Urs and Russ,
>> Unfortunately (one of the changes from RFC 1036 which I did not like as
>> some programs may be not aware of this) Path can "now" be folded (RFC
>> 5536 3.1.5):
Does RFC 1036 really say that Path cannot be folded?
I do not manage to find the reference.
2. Message Format
The Internet convention of continuation header lines (beginning with
a blank or tab) is allowed.
2.1.6. Path
The names may be
separated by any punctuation character or characters (except "."
which is considered part of the hostname). Thus, the following are
valid entries:
cbosgd!mhuxj!mhuxt
cbosgd, mhuxj, mhuxt
@cbosgd.ATT.COM,@mhuxj.ATT.COM,@mhuxt.ATT.COM
teklabs, zehntel, sri-unix@cca!decvax
However, the existing convention of placing the
host name and an "!" at the front of the path, and of starting the
path with the host name, an "!", and the user name, should be
maintained when possible.
>> | path = "Path:" SP *WSP path-list tail-entry *WSP CRLF
>> | path-list = *( path-identity [FWS] [path-diagnostic] "!" )
>
> Yeah, in retrospect that was probably a mistake.
FWIW, "Son of 1036" (RFC 1849) was already saying in 1994:
5.6. Path
NOTE: This syntax has the disadvantage of containing no white
space, making it impossible to continue a Path header across
several lines. Implementors of relayers and reading agents are
warned that it is intended that the successor to this Draft will
change the definition of path delimiter to:
path-delimiter = "!" [ space ]
and are urged to fix their software to handle (i.e., ignore) white
space following the exclamation points. They are urged to hurry;
some ill-behaved systems reportedly already feel free to add such
white space.
NOTE: [RFC1036] allows considerably more flexibility in choice of
delimiter, in theory, but this flexibility has never been used,
and most news software does not implement it properly. The
grammar reflects the current reality. Note, in particular, that
[RFC1036] treats "_" as a delimiter, but in fact it is known to
appear in relayer names occasionally.
So I believe RFC 5536 was just documenting what was going on with "!"
and spaces, and naturally folding on whitespace.
--
Julien ÉLIE
« Ça n'a été qu'un coup de glaive dans l'eau. » (Astérix)
Technical Details
Message-ID:
<u5p8p9$14ac4$1@news.trigofacile.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-mailReferences:
<u5o2l1$lml$1$arnold@news.chmurka.net> <87zg5ci1f8.fsf@hope.eyrie.org> <u5p4ue$stl$1@nntp.de> <87ilbzn84g.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <u5p8p9$14ac4$1@news.trigofacile.com> Subject: Re: [inn] Header folded immediately after header name results in "invalid syntax encountered" posting error Date: Wed, 7 Jun 2023 08:40:41 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <u5o2l1$lml$1$arnold@news.chmurka.net> <87zg5ci1f8.fsf@hope.eyrie.org> <u5p4ue$stl$1@nntp.de> <87ilbzn84g.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 Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 7 Jun 2023 06:40:41 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="1190276"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Cancel-Lock: sha1:Plxtm+mU0ezEvbXalpAGhRx9hDQ= sha256:w3zuIgXQIVWnfj+5mMDKBuET/ALO/QKvIWxwIEfJN/E= sha1:WKtd8S1ZuNTKPDTmEAqaq8NXUeE= sha256:eVvW3Ba06+AC35EKlZWxGy6/0IYUze8k6U0g2BECdGI= In-Reply-To: <87ilbzn84g.fsf@hope.eyrie.org>