Article View: news.software.nntp
Article #87526Re: Multiple occurences of header fields
From: Michael Bäuerle
Date: Tue, 06 Sep 2016 09:42
Date: Tue, 06 Sep 2016 09:42
42 lines
2979 bytes
2979 bytes
Julien ÉLIE wrote: > Adam H. Kerman wrote: > > Julien ÉLIE wrote: > > > > > > [...] > > > The problem with such a check is that INN would reject current valid > > > articles. We already have UTF-8 chars in wide in a few circumstances, > > > especially for internationalized newsgroup names. > > > > I guess you could check the other fields. > > If a deployed version of a news server rejects articles containing > UTF-8 for instance in the Subject: header field, it will be problematic > when (and if) we standardize internationalized Netnews headers. > Such deployed versions would incorrectly reject those articles. > > See for instance RFC 6532 that already does that for Email headers. > We'll probably do a similar thing one day for Netnews. I agree for header fields like "Subject" (that are not relevant for the network distribution of the article). But is this also true for header fields like "Newsgroups"? Potential problems with Unicode can be: 1) Ambiguity (canonical equivalence) 2) Invalid Unicode codepoints 3) Invalid sequences in UTF-8 transformation format Checking for 1) requires normalization. And because Normal Form C is only a "SHOULD" in RFC5198 (Chapter 2, Paragraph 4), articles using wrong normalization should pass anyway. Checking for 2) is likely a bad idea in general (future articles may legally use codepoints that are not assigned yet). But checking for 3) would be easy and IMHO has no obvious drawbacks (that the successor of ASCII would be something else than UTF-8 is very unlikely). Because every US-ASCII string is a valid UTF-8 string too, all such strings would automatically pass this potential check too.
Technical Details
Message-ID:
<AABXzo+SBIoAAAJC.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-mailReferences:
<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> <nqkln7$b1m$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <AABXzo+SBIoAAAJC.A1.flnews@WStation5.stz-e.de> Subject: Re: Multiple occurences of header fields Date: Tue, 6 Sep 2016 11:42:42 +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> <nqkln7$b1m$1@news.trigofacile.com> 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: 40 Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net nkAzeEWJFkzHoIrCL5uN+A64Gco0zykoavyLQEF3H8e0bTUR7B X-Orig-Path: not-for-mail Cancel-Lock: sha1:k/BEa3xTKL0BAVSueYH7p31trJ4= sha1:+eZsCWd4LRaUX2xE9jquw7x3nI8= Injection-Date: Tue, 6 Sep 2016 09:42:42 -0000 User-Agent: flnews/0.14pre54 (for NetBSD) X-Received-Bytes: 2790 X-Received-Body-CRC: 1144867346