Gnus development mailing list
 help / color / mirror / Atom feed
* broken "[Bb]oundary=" recognition?
@ 2001-07-27 13:46 Karl Kleinpaste
  2001-07-27 17:11 ` ShengHuo ZHU
  0 siblings, 1 reply; 3+ messages in thread
From: Karl Kleinpaste @ 2001-07-27 13:46 UTC (permalink / raw)


There is an article, news:9jrinq0dcf@enews4.newsguy.com, which
purports to be:

	 Mime-Version: 1.0
	 Content-Type: multipart/alternative;
		Boundary=----=DD12CF7A829611D599AF00104B9FF285

containing text/plain and text/html -- pretty typical.  Yet it displays
as though it were all text/plain, with all the internal MIME headers
visible.  I'm wondering whether Gnus is failing to notice a valid
"boundary=" due to the word being capitalized in the message header.

Is it legitimate for "Boundary=" to be capitalized?  I'd like to think
MIME keywords are supposed to be considered case-insensitively.

FTR, running Oort CVS-updated as of 5 minutes ago.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: broken "[Bb]oundary=" recognition?
  2001-07-27 13:46 broken "[Bb]oundary=" recognition? Karl Kleinpaste
@ 2001-07-27 17:11 ` ShengHuo ZHU
  2001-08-17 21:14   ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: ShengHuo ZHU @ 2001-07-27 17:11 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> There is an article, news:9jrinq0dcf@enews4.newsguy.com, which
> purports to be:
> 
> 	 Mime-Version: 1.0
> 	 Content-Type: multipart/alternative;
> 		Boundary=----=DD12CF7A829611D599AF00104B9FF285
> 
> containing text/plain and text/html -- pretty typical.  Yet it displays
> as though it were all text/plain, with all the internal MIME headers
> visible.  I'm wondering whether Gnus is failing to notice a valid
> "boundary=" due to the word being capitalized in the message header.
> 
> Is it legitimate for "Boundary=" to be capitalized?  I'd like to think
> MIME keywords are supposed to be considered case-insensitively.

It is not legitimate, not because of the capitalized Boundary, but
because the boundary value contains special character =.  It should be
a quoted-string.

ShengHuo


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: broken "[Bb]oundary=" recognition?
  2001-07-27 17:11 ` ShengHuo ZHU
@ 2001-08-17 21:14   ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2001-08-17 21:14 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

>> 	 Content-Type: multipart/alternative;
>> 		Boundary=----=DD12CF7A829611D599AF00104B9FF285

[...]

> It is not legitimate, not because of the capitalized Boundary, but
> because the boundary value contains special character =.  It should be
> a quoted-string.

This is probably the most common way MIME handling "breaks" for Gnus
-- somebody uses a "=" character in a non-quoted separator.

Should we try to parse these invalid messages, or should we just let
the user intervene manually with `K m' to repair the message?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-17 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-27 13:46 broken "[Bb]oundary=" recognition? Karl Kleinpaste
2001-07-27 17:11 ` ShengHuo ZHU
2001-08-17 21:14   ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).