Article View: news.software.nntp
Article #28221Re: INN/nnrpd not MIME compliant?
From: Per Hedeland
Date: Mon, 18 May 1998 00:00
Date: Mon, 18 May 1998 00:00
41 lines
2439 bytes
2439 bytes
In article <3560B861.66A4@itc.nrcs.usda.gov> Tom Rudnick <trudnick@itc.nrcs.usda.gov> writes: >I have found that posting an article to INN that contains MIME >information, does not retain the correct MIME-Version header. > >Instead, MIME-Version becomes Mime-Version, which is not recognized by >strict MIME decoders. The former, i.e. MIME-Version becoming Mime-Version, does indeed seem to be the case for all versions of INN, and should perhaps be considered a bug. However the latter if true is an indication of a far more fundamental bug in those decoders - the MIME definition refers back to the grammar of RFC 822, which clearly states that header field-names must always be treated case-independantly. >Am I missing something here? If INN's post.c is using Mime-Version >instead of MIME-Version, it is not compliant. Well, if we're going to talk of "compliant", it should be noted that MIME isn't even defined for news, so strictly speaking there's nothing to be compliant with as far as MIME goes. But if it were, producing Mime-Version would certainly be compliant. Changing a header field-name like this may be considered a violation of RFC 977 though, as Dale Ghent suggests - but I'd say it's a fairly mild one; INN actually does this for all headers that it recognizes, a form of "pretty-printing" I guess (only in this case it's idea of "pretty" differs from most people's:-) - e.g. if you post with a sUbjEcT: header, INN will turn into Subject:. >It would seem that fixing this would be very straight-forward, but the >source for 1.7 still contains "Mime-Version" instead of the proper one. > >Is there a patch for this? Not that I know of, and it's still the same in INN 2.0-beta - feel free to create a patch and submit it to inn-patches@isc.org. --Per Hedeland per@erix.ericsson.se
Technical Details
Message-ID:
<6jqh83$e1h$1@news.du.etx.ericsson.se>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<3560B861.66A4@itc.nrcs.usda.gov>Show Full Headers
Complete Article Headers
Message-ID: <6jqh83$e1h$1@news.du.etx.ericsson.se> Subject: Re: INN/nnrpd not MIME compliant? Date: Mon, 18 May 1998 00:00:00 +0000 From: per@erix.ericsson.se (Per Hedeland) References: <3560B861.66A4@itc.nrcs.usda.gov> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 354459421 Organization: Ericsson Telecom, Stockholm, Sweden NNTP-Posting-User: per Newsgroups: news.software.nntp