Article View: news.software.nntp
Article #86738Re: How are supersedes and Message-ID being handled now?
From: Michael Baeuerle
Date: Tue, 05 May 2015 12:02
Date: Tue, 05 May 2015 12:02
131 lines
6907 bytes
6907 bytes
Julien ÉLIE wrote:
> Hi Michael,
>
> > > As Julien Élie pointed out earlier, UTF-8 newsgroups have been
> > > created before and do in fact work.
> >
> > It would be nice if Julien can write some more details (what things
> > were tested and on what operating systems).
>
> Well, I just tested a newgroup control article on my local INN running
> on Debian.
> You can still see the newsgroup here, named "trigofacile.test.υτφ8":
>
> % telnet news.trigofacile.com 119
> 200 news.trigofacile.com InterNetNews NNRP server INN 2.6.0 (20150503 snapshot) ready (no posting)
> LIST ACTIVE trigofacile.*
> [...]
> trigofacile.test.υτφ8 0000000005 0000000001 y
>
>
> We did tests with tin and Thunderbird.
With some few code lines changed, I can subscribe and read the test
group too:
<http://micha.freeshell.org/tmp/2015-05-05_flnews_utf8_group.png>
<http://micha.freeshell.org/tmp/2015-05-05_flnews_utf8_article.png>
Protocol log:
------------------------------------------------------------------------
[Using NNTP protocol driver]
[=> Connect to news.trigofacile.com:119]
[<=] 200 news.trigofacile.com InterNetNews NNRP server INN 2.6.0 (20150503 snapshot) ready (no posting)
[=>] CAPABILITIES
[<=] 101 Capability list:
[<= Expect multiline data block]
VERSION 2
IMPLEMENTATION INN 2.6.0 (20150503 snapshot)
AUTHINFO USER SASL
HDR
LIST ACTIVE ACTIVE.TIMES COUNTS DISTRIB.PATS DISTRIBUTIONS HEADERS MODERATORS MOTD NEWSGROUPS OVERVIEW.FMT SUBSCRIPTIONS
NEWNEWS
OVER
READER
SASL GSSAPI OTP PLAIN NTLM LOGIN DIGEST-MD5 CRAM-MD5
STARTTLS
[Switch to NNTP V2 (RFC3977) mode]
[=>] LIST ACTIVE
[<=] 215 Newsgroups in form "group high low status"
[<= Expect multiline data block]
[...]
trigofacile.test.υτφ8 0000000005 0000000001 y
[...]
[=>] GROUP trigofacile.test.υτφ8
[<=] 211 5 1 5 trigofacile.test.υτφ8
[=>] OVER 1-5
[<=] 224 Overview information for 1-5 follows
[<= Expect multiline data block]
[...]
[=>] ARTICLE 5
[<=] 220 5 <0T8jd09iI5n7Nfm%dennis@coredump.d--p.de> article
[<= Expect multiline data block]
Path: news.trigofacile.com!.POSTED.p5082de38.dip.t-dialin.net!not-for-mail
From: Dennis Preiser <d__p@d--p.de>
Newsgroups: trigofacile.test.υτφ8
Subject: test
Date: Sat, 25 Feb 2012 09:58:16 +0000 (UTC)
Organization: coredump
Archive: no
Message-ID: <0T8jd09iI5n7Nfm%dennis@coredump.d--p.de>
Injection-Date: Sat, 25 Feb 2012 09:58:16 +0000 (UTC)
Injection-Info: news.trigofacile.com; posting-host="p5082de38.dip.t-dialin.net:80.130.222.56";
logging-data="4846"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: tin/2.1.1-20120221 ("Bridgend") (UNIX) (Darwin/10.8.0 (x86_64))
Cancel-Lock: sha1:nmLrtsw4nJ2XvcPE/uGwDuD7uBM=
X-No-Archive: yes
X-No-HTML: yes
test
Dennis
------------------------------------------------------------------------
In this constellation (with OVER capability), my newsreader don't
require files that are named after groups, and things would work too.
For my software chain the potential problems would be:
1)
Without OVER capability, a header cache on disk is used by flnews with
directories named after groups. If there are different groups with
canonically equivalent Unicode names:
=> Will work on GNU/Linux and NetBSD
=> May fail on Darwin (if there can't be subdirectories with canonically
equivalent Unicode names, the header files of such groups will be
merged into a single directory)
2)
I use leafnode as proxy. If leafnode would run on Darwin, the same
problem can occur. In addition, leafnode creates files named after
Message-IDs. Therefore the same problem will occur if articles within
the same group has Unicode Message-IDs that are canonically equivalent.
The article database of leafnode on disk will get broken in this case.
Dennis has flnews running on his Darwin machine too. I can ask him
for help, but to make the problem visible I need a test group with a
name that has more than one valid Unicode representation.
The current test group has the name:
U+03C5 (GREEK SMALL LETTER UPSILON)
U+03C4 (GREEK SMALL LETTER TAU)
U+03C6 (GREEK SMALL LETTER PHI)
U+0038 (DIGIT EIGHT)
All four codepoints have character combining class zero. Therefore
no other canonically equivalent codepoint sequence exist for that
name - and the name stay unchanged after applying NFC or NFD
normalization. This is therefore a corner case where the problem that I
described above can not occur.
Would it be possible that you create a second test group on this server
with a name that allow testing this?
A good choice would be a name that contain at least two glyphs that
can be canonically decomposed. German umlauts or french vowels with
accents will do the job.
Glyphs like U+1F85 (that can be recursively decomposed in multiple
steps) would be even better:
<http://www.fileformat.info/info/unicode/char/1f85/index.htm>
This glyph already has 4 canonically equivalent representations on its
own.
Technical Details
Message-ID:
<AABVSJpB9ZoAAAvs.A1.flnews@WStation3.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.20150601.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!feeder.erje.net!1.eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<mgfuq0$8ee$1@news.mixmin.net> <mggkev$j2u$1@dont-email.me> <mgst9h$nvr$1@news.mixmin.net> <mgtpgp$ije$1@dont-email.me> <mgv2ro$8u6$1@news.mixmin.net> <mh0e69$4d6$1@dont-email.me> <mh0puu$one$1@news.mixmin.net> <mh3qq9$6j5$1@dont-email.me> <mh4fbh$jft$1@news.mixmin.net> <mh714j$40v$1@dont-email.me> <mh77tl$emi$1@news.mixmin.net> <mh92h9$p83$1@dont-email.me> <mhtv8k$s1i$1@news.trigofacile.com> <mhupvp$3c6$1@dont-email.me> <mhvgje$j5p$1@news.trigofacile.com> <mi2pcd$cvl$1@dont-email.me> <AABVRjobIhkAAAoh.A1.flnews@WStation1.micha.freeshell.org> <mi5qh9$ebq$1@dont-email.me> <AABVRz0NTVsAAA1Q.A1.flnews@WStation3.stz-e.de> <mi81g2$i37$1@dont-email.me> <AABVR5XxImcAABH7.A1.flnews@WStation3.stz-e.de> <mi8g5g$2tm$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <AABVSJpB9ZoAAAvs.A1.flnews@WStation3.stz-e.de> Subject: Re: How are supersedes and Message-ID being handled now? Date: Tue, 05 May 2015 12:02:31 +0000 From: Michael Baeuerle <michael.baeuerle@stz-e.de> References: <mgfuq0$8ee$1@news.mixmin.net> <mggkev$j2u$1@dont-email.me> <mgst9h$nvr$1@news.mixmin.net> <mgtpgp$ije$1@dont-email.me> <mgv2ro$8u6$1@news.mixmin.net> <mh0e69$4d6$1@dont-email.me> <mh0puu$one$1@news.mixmin.net> <mh3qq9$6j5$1@dont-email.me> <mh4fbh$jft$1@news.mixmin.net> <mh714j$40v$1@dont-email.me> <mh77tl$emi$1@news.mixmin.net> <mh92h9$p83$1@dont-email.me> <mhtv8k$s1i$1@news.trigofacile.com> <mhupvp$3c6$1@dont-email.me> <mhvgje$j5p$1@news.trigofacile.com> <mi2pcd$cvl$1@dont-email.me> <AABVRjobIhkAAAoh.A1.flnews@WStation1.micha.freeshell.org> <mi5qh9$ebq$1@dont-email.me> <AABVRz0NTVsAAA1Q.A1.flnews@WStation3.stz-e.de> <mi81g2$i37$1@dont-email.me> <AABVR5XxImcAABH7.A1.flnews@WStation3.stz-e.de> <mi8g5g$2tm$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.20150601.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!feeder.erje.net!1.eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.nntp Lines: 132 Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net q6/EF1Jm8TKh0Opp/m6VsgKOB0JxtC6tMSQqH59g2cfHVxQ+eL X-Orig-Path: not-for-mail Cancel-Lock: sha1:XYu+BSJsDa5sJMfs7d9hPH/Adg8= sha1:I6zkfVk5Xe2SooTk/kVHcR0cfYU= Injection-Date: 5 May 2015 12:02:31 -0000 User-Agent: flnews/0.11pre15 (for GNU/Linux)