Thread View: news.software.nntp
7 messages
7 total messages
Started by Tom Rudnick
Mon, 18 May 1998 00:00
INN/nnrpd not MIME compliant?
Author: Tom Rudnick
Date: Mon, 18 May 1998 00:00
Date: Mon, 18 May 1998 00:00
19 lines
1195 bytes
1195 bytes
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. Am I missing something here? If INN's post.c is using Mime-Version instead of MIME-Version, it is not compliant. 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? Thanks, -Tom Rudnick
Re: INN/nnrpd not MIME compliant?
Author: Tom Rudnick
Date: Mon, 18 May 1998 00:00
Date: Mon, 18 May 1998 00:00
17 lines
1129 bytes
1129 bytes
Tom Rudnick wrote: Okay, so I'm having a conversation with myself... > I test posted with inews and rnews, and found that posting an article > with inews -h botches the MIME-Version header, while posting > with rnews properly leaves it alone. Further testing shows that rnews _conditionally_ rewrites (botches) the MIME-Version header. ...I'm really lost now. -Tom Rudnick
Re: INN/nnrpd not MIME compliant?
Author: 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
Re: INN/nnrpd not MIME compliant?
Author: Tom Rudnick
Date: Mon, 18 May 1998 00:00
Date: Mon, 18 May 1998 00:00
27 lines
1376 bytes
1376 bytes
Tom Rudnick wrote: > > 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. > ... To clarify a bit more... I test posted with inews and rnews, and found that posting an article with inews -h botches the MIME-Version header, while posting with rnews properly leaves it alone. I tested with version 1.5.1 of both inews and rnews. So, now I have 2 questions. 1. Why does inews botch the headers while rnews doesn't? 2. Is inews fixed in the latest version? -Tom Rudnick
Re: INN/nnrpd not MIME compliant?
Author: Dale Ghent
Date: Mon, 18 May 1998 00:00
Date: Mon, 18 May 1998 00:00
24 lines
1458 bytes
1458 bytes
Tom Rudnick wrote:
>
> 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.
>
> Am I missing something here? If INN's post.c is using Mime-Version
> instead of MIME-Version, it is not compliant.
Never heard of this happening before... the NNTP RFC explicitly states
that the server software shouldnt mess with the already-existing content
of a post.
-Dale G.
--
Dale Ghent daleg @ digex.net
NetworkNews Administrator DIGEX, Inc.
http://www.digex.net Beltsville, MD
I speak for myself
Re: INN/nnrpd not MIME compliant?
Author: Andrew Gierth
Date: Tue, 19 May 1998 00:00
Date: Tue, 19 May 1998 00:00
27 lines
1614 bytes
1614 bytes
>>>>> "Tom" == Tom Rudnick <trudnick@itc.nrcs.usda.gov> writes: Tom> I test posted with inews and rnews, and found that posting an Tom> article with inews -h botches the MIME-Version header, while Tom> posting with rnews properly leaves it alone. Tom> I tested with version 1.5.1 of both inews and rnews. Tom> So, now I have 2 questions. Tom> 1. Why does inews botch the headers while rnews doesn't? Because inews is supposed to massage headers prior to injection to make them look right (that's its main purpose in life), whereas rnews is part of the transport mechanism and therefore assumes that it is being given an already-valid article that requires no further processing. Tom> 2. Is inews fixed in the latest version? It's not inews that's doing it; see the table at the top of nnrpd/post.c for the culprit. -- Andrew.
Re: INN/nnrpd not MIME compliant?
Author: Andrew Gierth
Date: Tue, 19 May 1998 00:00
Date: Tue, 19 May 1998 00:00
16 lines
1150 bytes
1150 bytes
>>>>> "Tom" == Tom Rudnick <trudnick@itc.nrcs.usda.gov> writes: Tom> I have found that posting an article to INN that contains MIME Tom> information, does not retain the correct MIME-Version header. Tom> Instead, MIME-Version becomes Mime-Version, which is not Tom> recognized by strict MIME decoders. You mean, "broken MIME decoders". Header names are *never* case sensitive, neither in mail nor news. -- Andrew.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads