🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84403

Re: Julien•ÉLIE, Steve•Crook and Russ•Allbery have set a bad example. 

#84403
From: Julien ÉLIE
Date: Mon, 13 Feb 2012 20:17
61 lines
3557 bytes
Hi Jeff,

> Popular INN servers ( e.g. "Eternal-September.ORG", Ray Banana )
> drop posts ( from peers ) just because the header contains the
> « Content-Type: Text/HTML; charset=UTF-8 » line.

This is totally unrelated to the rejection of UTF-8 message-IDs.


> While RFC 5537 says one must not inject a UTF·8 Message·ID,
> dropping a post with a UTF·8 Message·ID ( from peers, as INN does )
> violates its core principle:
>
>    Be liberal in what you accept, and conservative in what you send.

Do not forget to take into account that the NNTP protocol currently does 
*not* allow the transit of articles whose message-ID is encoded in UTF-8.

RFC 3977:

6.3.2.  IHAVE

    Syntax
      IHAVE message-id

message-id = "<" 1*248A-NOTGT ">"
; A- means based on US-ASCII, excluding controls and SP
A-NOTGT    = %x21-3D / %x3F-7E  ; exclude ">"


Same thing for streaming (CHECK and TAKETHIS commands), defined in RFC 4644.


> In practice*, the « Content-Type: Text/HTML; charset=UTF-8 » line
> defines the charset of the header, including the Message·ID.

How can it define the charset of the headers if it appears after the 
beginning of the headers?

RFC 2045:

5.  Content-Type Header Field

    The purpose of the Content-Type field is to describe the data
    contained in the body fully enough that the receiving user agent can
    pick an appropriate agent or mechanism to present the data to the
    user, or otherwise deal with the data in an appropriate manner. The
    value in this field is called a media type.


> [ *: Google Groups, Thunderbird, Outlook, Windows Live Mail, etc. ]

In these mail/news readers, what happens if you declare an ISO-8859-1 
charset (applying for the body) and use a UTF-8 message-ID?

-- 
Julien ÉLIE

« Mais pourquoi courent-ils si vite ? Pour gagner du temps ! Comme
   le temps, c'est de l'argent… plus ils courent vite, plus ils en
   gagnent. » (Raymond Devos)
Technical Details
Message-ID: <jhbr4j$ddu$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.amontpellier-159-1-56-60.w83-197.abo.wanadoo.fr!not-for-mail
References: <slrnjikokv.3g8.steve@news.mixmin.net> <jhb1r2$fqd$1@news.trigofacile.com> <Jeff-Relf.Me@2012_Feb.13^11.35.am>

Show Full Headers
Complete Article Headers
Message-ID: <jhbr4j$ddu$1@news.trigofacile.com>
Subject: Re: Julien•ÉLIE, Steve•Crook and Russ•Allbery have set a bad example. 
Date: Mon, 13 Feb 2012 21:17:24 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <slrnjikokv.3g8.steve@news.mixmin.net> <jhb1r2$fqd$1@news.trigofacile.com> <Jeff-Relf.Me@2012_Feb.13^11.35.am>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder2.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.amontpellier-159-1-56-60.w83-197.abo.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp,alt.free.newsservers
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Feb 2012 20:17:23 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="amontpellier-159-1-56-60.w83-197.abo.wanadoo.fr:83.197.15.60";
 logging-data="13758"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; fr;
In-Reply-To: <Jeff-Relf.Me@2012_Feb.13^11.35.am>
Lines: 60
X-Original-Bytes: 3436